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:
Baptiste Daroussin 2014-10-01 15:00:21 +00:00
parent 31f0d081d8
commit ad9bbe9854
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272362
21 changed files with 27 additions and 0 deletions

View File

@ -41,5 +41,6 @@
* above branch.
*/
bl PIC_PLT(CNAME(abort)) /* abort */
END(_cts_start)
.section .note.GNU-stack,"",%progbits

View File

@ -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

View File

@ -29,5 +29,6 @@ __FBSDID("$FreeBSD$");
ENTRY(__eabi)
blr
END(__eabi)
.section .note.GNU-stack,"",%progbits

View File

@ -33,5 +33,6 @@ __FBSDID("$FreeBSD$");
ENTRY(fabs)
fabs %f1,%f1
blr
END(fabs)
.section .note.GNU-stack,"",%progbits

View File

@ -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

View File

@ -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

View File

@ -71,5 +71,6 @@ ENTRY(brk)
1:
b PIC_PLT(HIDENAME(cerror))
END(brk)
.section .note.GNU-stack,"",%progbits

View File

@ -37,5 +37,6 @@ ENTRY(exect)
blr
1:
b PIC_PLT(HIDENAME(cerror))
END(exect)
.section .note.GNU-stack,"",%progbits

View File

@ -41,5 +41,6 @@ ENTRY(pipe)
blr /* and return 0 */
1:
b PIC_PLT(HIDENAME(cerror))
END(pipe)
.section .note.GNU-stack,"",%progbits

View File

@ -56,5 +56,6 @@ ENTRY(ptrace)
blr
1:
b PIC_PLT(HIDENAME(cerror))
END(ptrace)
.section .note.GNU-stack,"",%progbits

View File

@ -68,5 +68,6 @@ ENTRY(sbrk)
blr
2:
b PIC_PLT(HIDENAME(cerror))
END(sbrk)
.section .note.GNU-stack,"",%progbits

View File

@ -46,5 +46,6 @@
nop
bl CNAME(abort) /* abort */
nop
END(_ctx_start)
.section .note.GNU-stack,"",%progbits

View File

@ -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

View File

@ -33,5 +33,6 @@ __FBSDID("$FreeBSD$");
ENTRY(fabs)
fabs %f1,%f1
blr
END(fabs)
.section .note.GNU-stack,"",%progbits

View File

@ -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

View File

@ -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

View File

@ -69,5 +69,6 @@ ENTRY(brk)
ld %r0,16(%r1)
mtlr %r0
blr
END(brk)
.section .note.GNU-stack,"",%progbits

View File

@ -45,5 +45,6 @@ ENTRY(exect)
ld %r0,16(%r1)
mtlr %r0
blr
END(exect)
.section .note.GNU-stack,"",%progbits

View File

@ -49,5 +49,6 @@ ENTRY(pipe)
ld %r0,16(%r1)
mtlr %r0
blr
END(pipe)
.section .note.GNU-stack,"",%progbits

View File

@ -63,5 +63,6 @@ ENTRY(ptrace)
ld %r0,16(%r1)
mtlr %r0
blr
END(ptrace)
.section .note.GNU-stack,"",%progbits

View File

@ -64,5 +64,6 @@ ENTRY(sbrk)
ld %r0,16(%r1)
mtlr %r0
blr
END(sbrk)
.section .note.GNU-stack,"",%progbits