Date: Wed, 1 Oct 2014 15:00:21 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272362 - in head/lib/libc: powerpc/gen powerpc/sys powerpc64/gen powerpc64/sys Message-ID: <201410011500.s91F0LgJ032570@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Oct 1 15:00:21 2014 New Revision: 272362 URL: https://svnweb.freebsd.org/changeset/base/272362 Log: 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 Modified: head/lib/libc/powerpc/gen/_ctx_start.S head/lib/libc/powerpc/gen/_setjmp.S head/lib/libc/powerpc/gen/eabi.S head/lib/libc/powerpc/gen/fabs.S head/lib/libc/powerpc/gen/setjmp.S head/lib/libc/powerpc/gen/sigsetjmp.S head/lib/libc/powerpc/sys/brk.S head/lib/libc/powerpc/sys/exect.S head/lib/libc/powerpc/sys/pipe.S head/lib/libc/powerpc/sys/ptrace.S head/lib/libc/powerpc/sys/sbrk.S head/lib/libc/powerpc64/gen/_ctx_start.S head/lib/libc/powerpc64/gen/_setjmp.S head/lib/libc/powerpc64/gen/fabs.S head/lib/libc/powerpc64/gen/setjmp.S head/lib/libc/powerpc64/gen/sigsetjmp.S head/lib/libc/powerpc64/sys/brk.S head/lib/libc/powerpc64/sys/exect.S head/lib/libc/powerpc64/sys/pipe.S head/lib/libc/powerpc64/sys/ptrace.S head/lib/libc/powerpc64/sys/sbrk.S Modified: head/lib/libc/powerpc/gen/_ctx_start.S ============================================================================== --- head/lib/libc/powerpc/gen/_ctx_start.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/gen/_ctx_start.S Wed Oct 1 15:00:21 2014 (r272362) @@ -41,5 +41,6 @@ * above branch. */ bl PIC_PLT(CNAME(abort)) /* abort */ + END(_cts_start) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc/gen/_setjmp.S ============================================================================== --- head/lib/libc/powerpc/gen/_setjmp.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/gen/_setjmp.S Wed Oct 1 15:00:21 2014 (r272362) @@ -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 Modified: head/lib/libc/powerpc/gen/eabi.S ============================================================================== --- head/lib/libc/powerpc/gen/eabi.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/gen/eabi.S Wed Oct 1 15:00:21 2014 (r272362) @@ -29,5 +29,6 @@ __FBSDID("$FreeBSD$"); ENTRY(__eabi) blr +END(__eabi) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc/gen/fabs.S ============================================================================== --- head/lib/libc/powerpc/gen/fabs.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/gen/fabs.S Wed Oct 1 15:00:21 2014 (r272362) @@ -33,5 +33,6 @@ __FBSDID("$FreeBSD$"); ENTRY(fabs) fabs %f1,%f1 blr +END(fabs) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc/gen/setjmp.S ============================================================================== --- head/lib/libc/powerpc/gen/setjmp.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/gen/setjmp.S Wed Oct 1 15:00:21 2014 (r272362) @@ -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 Modified: head/lib/libc/powerpc/gen/sigsetjmp.S ============================================================================== --- head/lib/libc/powerpc/gen/sigsetjmp.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/gen/sigsetjmp.S Wed Oct 1 15:00:21 2014 (r272362) @@ -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 Modified: head/lib/libc/powerpc/sys/brk.S ============================================================================== --- head/lib/libc/powerpc/sys/brk.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/sys/brk.S Wed Oct 1 15:00:21 2014 (r272362) @@ -71,5 +71,6 @@ ENTRY(brk) 1: b PIC_PLT(HIDENAME(cerror)) +END(brk) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc/sys/exect.S ============================================================================== --- head/lib/libc/powerpc/sys/exect.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/sys/exect.S Wed Oct 1 15:00:21 2014 (r272362) @@ -37,5 +37,6 @@ ENTRY(exect) blr 1: b PIC_PLT(HIDENAME(cerror)) +END(exect) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc/sys/pipe.S ============================================================================== --- head/lib/libc/powerpc/sys/pipe.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/sys/pipe.S Wed Oct 1 15:00:21 2014 (r272362) @@ -41,5 +41,6 @@ ENTRY(pipe) blr /* and return 0 */ 1: b PIC_PLT(HIDENAME(cerror)) +END(pipe) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc/sys/ptrace.S ============================================================================== --- head/lib/libc/powerpc/sys/ptrace.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/sys/ptrace.S Wed Oct 1 15:00:21 2014 (r272362) @@ -56,5 +56,6 @@ ENTRY(ptrace) blr 1: b PIC_PLT(HIDENAME(cerror)) +END(ptrace) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc/sys/sbrk.S ============================================================================== --- head/lib/libc/powerpc/sys/sbrk.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc/sys/sbrk.S Wed Oct 1 15:00:21 2014 (r272362) @@ -68,5 +68,6 @@ ENTRY(sbrk) blr 2: b PIC_PLT(HIDENAME(cerror)) +END(sbrk) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc64/gen/_ctx_start.S ============================================================================== --- head/lib/libc/powerpc64/gen/_ctx_start.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/gen/_ctx_start.S Wed Oct 1 15:00:21 2014 (r272362) @@ -46,5 +46,6 @@ nop bl CNAME(abort) /* abort */ nop + END(_ctx_start) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc64/gen/_setjmp.S ============================================================================== --- head/lib/libc/powerpc64/gen/_setjmp.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/gen/_setjmp.S Wed Oct 1 15:00:21 2014 (r272362) @@ -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 Modified: head/lib/libc/powerpc64/gen/fabs.S ============================================================================== --- head/lib/libc/powerpc64/gen/fabs.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/gen/fabs.S Wed Oct 1 15:00:21 2014 (r272362) @@ -33,5 +33,6 @@ __FBSDID("$FreeBSD$"); ENTRY(fabs) fabs %f1,%f1 blr +END(fabs) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc64/gen/setjmp.S ============================================================================== --- head/lib/libc/powerpc64/gen/setjmp.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/gen/setjmp.S Wed Oct 1 15:00:21 2014 (r272362) @@ -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 Modified: head/lib/libc/powerpc64/gen/sigsetjmp.S ============================================================================== --- head/lib/libc/powerpc64/gen/sigsetjmp.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/gen/sigsetjmp.S Wed Oct 1 15:00:21 2014 (r272362) @@ -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 Modified: head/lib/libc/powerpc64/sys/brk.S ============================================================================== --- head/lib/libc/powerpc64/sys/brk.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/sys/brk.S Wed Oct 1 15:00:21 2014 (r272362) @@ -69,5 +69,6 @@ ENTRY(brk) ld %r0,16(%r1) mtlr %r0 blr +END(brk) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc64/sys/exect.S ============================================================================== --- head/lib/libc/powerpc64/sys/exect.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/sys/exect.S Wed Oct 1 15:00:21 2014 (r272362) @@ -45,5 +45,6 @@ ENTRY(exect) ld %r0,16(%r1) mtlr %r0 blr +END(exect) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc64/sys/pipe.S ============================================================================== --- head/lib/libc/powerpc64/sys/pipe.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/sys/pipe.S Wed Oct 1 15:00:21 2014 (r272362) @@ -49,5 +49,6 @@ ENTRY(pipe) ld %r0,16(%r1) mtlr %r0 blr +END(pipe) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc64/sys/ptrace.S ============================================================================== --- head/lib/libc/powerpc64/sys/ptrace.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/sys/ptrace.S Wed Oct 1 15:00:21 2014 (r272362) @@ -63,5 +63,6 @@ ENTRY(ptrace) ld %r0,16(%r1) mtlr %r0 blr +END(ptrace) .section .note.GNU-stack,"",%progbits Modified: head/lib/libc/powerpc64/sys/sbrk.S ============================================================================== --- head/lib/libc/powerpc64/sys/sbrk.S Wed Oct 1 14:39:06 2014 (r272361) +++ head/lib/libc/powerpc64/sys/sbrk.S Wed Oct 1 15:00:21 2014 (r272362) @@ -64,5 +64,6 @@ ENTRY(sbrk) ld %r0,16(%r1) mtlr %r0 blr +END(sbrk) .section .note.GNU-stack,"",%progbits
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410011500.s91F0LgJ032570>