Remove useless _C_LABEL from our assembler source.
Change-Id: I41a9181537c70ecc69ef8035132c9a83811a40d0
This commit is contained in:
parent
bfa2b6fc6a
commit
09289d92f9
@ -107,7 +107,7 @@ ENTRY(_longjmp)
|
||||
|
||||
/* validation failed, die die die. */
|
||||
botch:
|
||||
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
|
||||
bl PIC_SYM(_C_LABEL(abort), PLT)
|
||||
bl PIC_SYM(longjmperror, PLT)
|
||||
bl PIC_SYM(abort, PLT)
|
||||
b . - 8 /* Cannot get here */
|
||||
END(_longjmp)
|
||||
|
@ -40,5 +40,5 @@ ENTRY(abort)
|
||||
.cfi_def_cfa_offset 8
|
||||
.cfi_rel_offset r3, 0
|
||||
.cfi_rel_offset r14, 4
|
||||
bl PIC_SYM(_C_LABEL(__libc_android_abort), PLT)
|
||||
bl PIC_SYM(__libc_android_abort, PLT)
|
||||
END(abort)
|
||||
|
@ -56,7 +56,7 @@ ENTRY(setjmp)
|
||||
.cfi_rel_offset r14, 4
|
||||
mov r0, #0x00000000
|
||||
|
||||
bl PIC_SYM(_C_LABEL(sigblock), PLT)
|
||||
bl PIC_SYM(sigblock, PLT)
|
||||
mov r1, r0
|
||||
|
||||
ldmfd sp!, {r0, r14}
|
||||
@ -108,7 +108,7 @@ ENTRY(longjmp)
|
||||
.cfi_adjust_cfa_offset 4
|
||||
|
||||
mov r0, r2
|
||||
bl PIC_SYM(_C_LABEL(sigsetmask), PLT)
|
||||
bl PIC_SYM(sigsetmask, PLT)
|
||||
|
||||
add sp, sp, #4 /* unalign the stack */
|
||||
.cfi_adjust_cfa_offset -4
|
||||
@ -147,7 +147,7 @@ ENTRY(longjmp)
|
||||
|
||||
/* validation failed, die die die. */
|
||||
botch:
|
||||
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
|
||||
bl PIC_SYM(_C_LABEL(abort), PLT)
|
||||
bl PIC_SYM(longjmperror, PLT)
|
||||
bl PIC_SYM(abort, PLT)
|
||||
b . - 8 /* Cannot get here */
|
||||
END(longjmp)
|
||||
|
@ -50,8 +50,8 @@
|
||||
|
||||
ENTRY(sigsetjmp)
|
||||
teq r1, #0
|
||||
beq PIC_SYM(_C_LABEL(_setjmp), PLT)
|
||||
b PIC_SYM(_C_LABEL(setjmp), PLT)
|
||||
beq PIC_SYM(_setjmp, PLT)
|
||||
b PIC_SYM(setjmp, PLT)
|
||||
END(sigsetjmp)
|
||||
|
||||
.L_setjmp_magic:
|
||||
@ -61,6 +61,6 @@ ENTRY(siglongjmp)
|
||||
ldr r2, .L_setjmp_magic
|
||||
ldr r3, [r0]
|
||||
teq r2, r3
|
||||
beq PIC_SYM(_C_LABEL(_longjmp), PLT)
|
||||
b PIC_SYM(_C_LABEL(longjmp), PLT)
|
||||
beq PIC_SYM(_longjmp, PLT)
|
||||
b PIC_SYM(longjmp, PLT)
|
||||
END(siglongjmp)
|
||||
|
@ -105,7 +105,7 @@ ENTRY(_longjmp)
|
||||
|
||||
/* validation failed, die die die */
|
||||
botch:
|
||||
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
|
||||
bl PIC_SYM(_C_LABEL(abort), PLT)
|
||||
bl PIC_SYM(longjmperror, PLT)
|
||||
bl PIC_SYM(abort, PLT)
|
||||
b . - 8 /* Cannot get here */
|
||||
END(_longjmp)
|
||||
|
@ -45,7 +45,7 @@ ENTRY(setjmp)
|
||||
stp x0, x30, [sp, #-16]!
|
||||
|
||||
mov x0, xzr
|
||||
bl PIC_SYM(_C_LABEL(sigblock), PLT)
|
||||
bl PIC_SYM(sigblock, PLT)
|
||||
mov w1, w0
|
||||
|
||||
ldp x0, x30, [sp], #16
|
||||
@ -117,7 +117,7 @@ ENTRY(longjmp)
|
||||
|
||||
/* validation failed, die die die */
|
||||
botch:
|
||||
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
|
||||
bl PIC_SYM(_C_LABEL(abort), PLT)
|
||||
bl PIC_SYM(longjmperror, PLT)
|
||||
bl PIC_SYM(abort, PLT)
|
||||
b . - 8 /* Cannot get here */
|
||||
END(longjmp)
|
||||
|
@ -35,8 +35,8 @@
|
||||
*/
|
||||
|
||||
ENTRY(sigsetjmp)
|
||||
cbz w1, PIC_SYM(_C_LABEL(_setjmp), PLT)
|
||||
b PIC_SYM(_C_LABEL(setjmp), PLT)
|
||||
cbz w1, PIC_SYM(_setjmp, PLT)
|
||||
b PIC_SYM(setjmp, PLT)
|
||||
END(sigsetjmp)
|
||||
|
||||
.L_setjmp_magic:
|
||||
@ -46,6 +46,6 @@ ENTRY(siglongjmp)
|
||||
ldr w2, .L_setjmp_magic
|
||||
ldr w3, [x0]
|
||||
cmp w2, w3
|
||||
b.eq PIC_SYM(_C_LABEL(_longjmp), PLT)
|
||||
b PIC_SYM(_C_LABEL(longjmp), PLT)
|
||||
b.eq PIC_SYM(_longjmp, PLT)
|
||||
b PIC_SYM(longjmp, PLT)
|
||||
END(siglongjmp)
|
||||
|
@ -47,9 +47,9 @@ ENTRY(setjmp)
|
||||
PIC_PROLOGUE
|
||||
pushl $0
|
||||
#ifdef PIC
|
||||
call PIC_PLT(_C_LABEL(sigblock))
|
||||
call PIC_PLT(sigblock)
|
||||
#else
|
||||
call _C_LABEL(sigblock)
|
||||
call sigblock
|
||||
#endif
|
||||
addl $4,%esp
|
||||
PIC_EPILOGUE
|
||||
@ -72,9 +72,9 @@ ENTRY(longjmp)
|
||||
PIC_PROLOGUE
|
||||
pushl 24(%edx)
|
||||
#ifdef PIC
|
||||
call PIC_PLT(_C_LABEL(sigsetmask))
|
||||
call PIC_PLT(sigsetmask)
|
||||
#else
|
||||
call _C_LABEL(sigsetmask)
|
||||
call sigsetmask
|
||||
#endif
|
||||
addl $4,%esp
|
||||
PIC_EPILOGUE
|
||||
|
@ -43,9 +43,9 @@ ENTRY(sigsetjmp)
|
||||
PIC_PROLOGUE
|
||||
pushl $0
|
||||
#ifdef PIC
|
||||
call PIC_PLT(_C_LABEL(sigblock))
|
||||
call PIC_PLT(sigblock)
|
||||
#else
|
||||
call _C_LABEL(sigblock)
|
||||
call sigblock
|
||||
#endif
|
||||
addl $4,%esp
|
||||
PIC_EPILOGUE
|
||||
@ -71,9 +71,9 @@ ENTRY(siglongjmp)
|
||||
PIC_PROLOGUE
|
||||
pushl 24(%edx)
|
||||
#ifdef PIC
|
||||
call PIC_PLT(_C_LABEL(sigsetmask))
|
||||
call PIC_PLT(sigsetmask)
|
||||
#else
|
||||
call _C_LABEL(sigsetmask)
|
||||
call sigsetmask
|
||||
#endif
|
||||
addl $4,%esp
|
||||
PIC_EPILOGUE
|
||||
|
@ -54,9 +54,9 @@ ENTRY(setjmp)
|
||||
pushq %rdi
|
||||
xorq %rdi,%rdi
|
||||
#ifdef __PIC__
|
||||
call PIC_PLT(_C_LABEL(sigblock))
|
||||
call PIC_PLT(sigblock)
|
||||
#else
|
||||
call _C_LABEL(sigblock)
|
||||
call sigblock
|
||||
#endif
|
||||
popq %rdi
|
||||
movq %rax,(_JB_SIGMASK * 8)(%rdi)
|
||||
@ -82,9 +82,9 @@ ENTRY(longjmp)
|
||||
movq (_JB_SIGMASK * 8)(%rdi),%rdi
|
||||
pushq %r8
|
||||
#ifdef __PIC__
|
||||
call PIC_PLT(_C_LABEL(sigsetmask))
|
||||
call PIC_PLT(sigsetmask)
|
||||
#else
|
||||
call _C_LABEL(sigsetmask)
|
||||
call sigsetmask
|
||||
#endif
|
||||
popq %r8
|
||||
movq (_JB_RBX * 8)(%r12),%rbx
|
||||
|
@ -58,9 +58,9 @@ ENTRY(sigsetjmp)
|
||||
pushq %rdi
|
||||
xorq %rdi,%rdi
|
||||
#ifdef __PIC__
|
||||
call PIC_PLT(_C_LABEL(sigblock))
|
||||
call PIC_PLT(sigblock)
|
||||
#else
|
||||
call _C_LABEL(sigblock)
|
||||
call sigblock
|
||||
#endif
|
||||
popq %rdi
|
||||
movq %rax,(_JB_SIGMASK * 8)(%rdi)
|
||||
@ -87,9 +87,9 @@ ENTRY(siglongjmp)
|
||||
|
||||
movq (_JB_SIGMASK * 8)(%rdi),%rdi
|
||||
#ifdef __PIC__
|
||||
call PIC_PLT(_C_LABEL(sigsetmask))
|
||||
call PIC_PLT(sigsetmask)
|
||||
#else
|
||||
call _C_LABEL(sigsetmask)
|
||||
call sigsetmask
|
||||
#endif
|
||||
2: popq %rax
|
||||
movq (_JB_RBX * 8)(%r12),%rbx
|
||||
|
Loading…
Reference in New Issue
Block a user