mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 08:31:17 +00:00
Ensure that every ENTRY(foo) has a matching END(foo).
It allows to build with newer binutils Differential Revision: https://reviews.freebsd.org/D877 Reviewed by: jhibbits
This commit is contained in:
parent
31f0d081d8
commit
ad9bbe9854
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272362
|
@ -41,5 +41,6 @@
|
|||
* above branch.
|
||||
*/
|
||||
bl PIC_PLT(CNAME(abort)) /* abort */
|
||||
END(_cts_start)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -58,6 +58,7 @@ ENTRY(_setjmp)
|
|||
stmw %r9,20(%r3)
|
||||
li %r3,0
|
||||
blr
|
||||
END(_setjmp)
|
||||
|
||||
ENTRY(_longjmp)
|
||||
lmw %r9,20(%r3)
|
||||
|
@ -68,5 +69,6 @@ ENTRY(_longjmp)
|
|||
bnelr
|
||||
li %r3,1
|
||||
blr
|
||||
END(_longjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -29,5 +29,6 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
ENTRY(__eabi)
|
||||
blr
|
||||
END(__eabi)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -33,5 +33,6 @@ __FBSDID("$FreeBSD$");
|
|||
ENTRY(fabs)
|
||||
fabs %f1,%f1
|
||||
blr
|
||||
END(fabs)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -68,6 +68,7 @@ ENTRY(setjmp)
|
|||
stmw %r9,20(%r6)
|
||||
li %r3,0 /* return (0) */
|
||||
blr
|
||||
END(setjmp)
|
||||
|
||||
WEAK_REFERENCE(CNAME(__longjmp), longjmp)
|
||||
ENTRY(__longjmp)
|
||||
|
@ -86,5 +87,6 @@ ENTRY(__longjmp)
|
|||
bnelr
|
||||
li %r3,1
|
||||
blr
|
||||
END(__longjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -73,6 +73,7 @@ ENTRY(sigsetjmp)
|
|||
stmw %r9,20(%r6)
|
||||
li %r3,0
|
||||
blr
|
||||
END(sigsetjmp)
|
||||
|
||||
ENTRY(siglongjmp)
|
||||
lmw %r9,20(%r3)
|
||||
|
@ -94,5 +95,6 @@ ENTRY(siglongjmp)
|
|||
bnelr
|
||||
li %r3,1
|
||||
blr
|
||||
END(siglongjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -71,5 +71,6 @@ ENTRY(brk)
|
|||
|
||||
1:
|
||||
b PIC_PLT(HIDENAME(cerror))
|
||||
END(brk)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -37,5 +37,6 @@ ENTRY(exect)
|
|||
blr
|
||||
1:
|
||||
b PIC_PLT(HIDENAME(cerror))
|
||||
END(exect)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -41,5 +41,6 @@ ENTRY(pipe)
|
|||
blr /* and return 0 */
|
||||
1:
|
||||
b PIC_PLT(HIDENAME(cerror))
|
||||
END(pipe)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -56,5 +56,6 @@ ENTRY(ptrace)
|
|||
blr
|
||||
1:
|
||||
b PIC_PLT(HIDENAME(cerror))
|
||||
END(ptrace)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -68,5 +68,6 @@ ENTRY(sbrk)
|
|||
blr
|
||||
2:
|
||||
b PIC_PLT(HIDENAME(cerror))
|
||||
END(sbrk)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -46,5 +46,6 @@
|
|||
nop
|
||||
bl CNAME(abort) /* abort */
|
||||
nop
|
||||
END(_ctx_start)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -80,6 +80,7 @@ ENTRY(_setjmp)
|
|||
std %r31,40 + 22*8(%r3)
|
||||
li %r3,0
|
||||
blr
|
||||
END(_setjmp)
|
||||
|
||||
ENTRY(_longjmp)
|
||||
ld %r9,40 + 0*8(%r3)
|
||||
|
@ -113,5 +114,6 @@ ENTRY(_longjmp)
|
|||
bnelr
|
||||
li %r3,1
|
||||
blr
|
||||
END(_longjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -33,5 +33,6 @@ __FBSDID("$FreeBSD$");
|
|||
ENTRY(fabs)
|
||||
fabs %f1,%f1
|
||||
blr
|
||||
END(fabs)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -92,6 +92,7 @@ ENTRY(setjmp)
|
|||
|
||||
li %r3,0 /* return (0) */
|
||||
blr
|
||||
END(setjmp)
|
||||
|
||||
WEAK_REFERENCE(__longjmp, longjmp)
|
||||
ENTRY(__longjmp)
|
||||
|
@ -132,5 +133,6 @@ ENTRY(__longjmp)
|
|||
bnelr
|
||||
li %r3,1
|
||||
blr
|
||||
END(__longjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -97,6 +97,7 @@ ENTRY(sigsetjmp)
|
|||
|
||||
li %r3,0
|
||||
blr
|
||||
END(sigsetjmp)
|
||||
|
||||
ENTRY(siglongjmp)
|
||||
ld %r9,40 + 0*8(%r3)
|
||||
|
@ -141,5 +142,6 @@ ENTRY(siglongjmp)
|
|||
bnelr
|
||||
li %r3,1
|
||||
blr
|
||||
END(siglongjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -69,5 +69,6 @@ ENTRY(brk)
|
|||
ld %r0,16(%r1)
|
||||
mtlr %r0
|
||||
blr
|
||||
END(brk)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -45,5 +45,6 @@ ENTRY(exect)
|
|||
ld %r0,16(%r1)
|
||||
mtlr %r0
|
||||
blr
|
||||
END(exect)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -49,5 +49,6 @@ ENTRY(pipe)
|
|||
ld %r0,16(%r1)
|
||||
mtlr %r0
|
||||
blr
|
||||
END(pipe)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -63,5 +63,6 @@ ENTRY(ptrace)
|
|||
ld %r0,16(%r1)
|
||||
mtlr %r0
|
||||
blr
|
||||
END(ptrace)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -64,5 +64,6 @@ ENTRY(sbrk)
|
|||
ld %r0,16(%r1)
|
||||
mtlr %r0
|
||||
blr
|
||||
END(sbrk)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
Loading…
Reference in a new issue