Merge "arm64: use L() in the handful of places we didn't already." into main am: b064be8bcf

Original change: https://android-review.googlesource.com/c/platform/bionic/+/3031965

Change-Id: I76fdcd9b3aacec2fbbc2d79cd71b11ad10f44f04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2024-04-08 21:50:56 +00:00 committed by Automerger Merge Worker
commit 524b0fd2db
4 changed files with 8 additions and 8 deletions

View file

@ -39,7 +39,7 @@ ENTRY_PRIVATE(__bionic_clone)
svc #0
# Are we the child?
cbz x0, .L_bc_child
cbz x0, L(child)
# Set errno if something went wrong.
cmn x0, #(MAX_ERRNO + 1)
@ -48,7 +48,7 @@ ENTRY_PRIVATE(__bionic_clone)
ret
.L_bc_child:
L(child):
# We're in the child now. Set the end of the frame record chain.
mov x29, #0
# Setting x30 to 0 will make the unwinder stop at __start_thread.

View file

@ -72,7 +72,7 @@ ENTRY_WEAK_FOR_NATIVE_BRIDGE(vfork)
mov x8, __NR_clone
svc #0
cbz x0, .L_exit
cbz x0, L(done)
// rc != 0: reset cached_pid_ and vforked_.
str w10, [x9, #20]
@ -80,7 +80,7 @@ ENTRY_WEAK_FOR_NATIVE_BRIDGE(vfork)
cneg x0, x0, hi
b.hi __set_errno_internal
.L_exit:
L(done):
ret
END(vfork)

View file

@ -31,10 +31,10 @@
ENTRY(__memcpy_chk)
cmp x2, x3
// Direct b.ls memcpy may not have enough range
b.hi .L_memcpy_chk_fail
b.hi L(__memcpy_chk_fail_trampoline)
b memcpy
.L_memcpy_chk_fail:
L(__memcpy_chk_fail_trampoline):
// Preserve for accurate backtrace.
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16

View file

@ -31,10 +31,10 @@
ENTRY(__memset_chk)
cmp x2, x3
// Direct b.ls memcpy may not have enough range
b.hi .L_memset_chk_fail
b.hi L(__memset_chk_fail_trampoline)
b memset
.L_memset_chk_fail:
L(__memset_chk_fail_trampoline):
// Preserve for accurate backtrace.
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16