Index: head/lib/libc/powerpc/gen/_ctx_start.S =================================================================== --- head/lib/libc/powerpc/gen/_ctx_start.S +++ head/lib/libc/powerpc/gen/_ctx_start.S @@ -41,5 +41,6 @@ * above branch. */ bl PIC_PLT(CNAME(abort)) /* abort */ + END(_cts_start) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/gen/_setjmp.S =================================================================== --- head/lib/libc/powerpc/gen/_setjmp.S +++ head/lib/libc/powerpc/gen/_setjmp.S @@ -58,6 +58,7 @@ stmw %r9,20(%r3) li %r3,0 blr +END(_setjmp) ENTRY(_longjmp) lmw %r9,20(%r3) @@ -68,5 +69,6 @@ bnelr li %r3,1 blr +END(_longjmp) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/gen/eabi.S =================================================================== --- head/lib/libc/powerpc/gen/eabi.S +++ head/lib/libc/powerpc/gen/eabi.S @@ -29,5 +29,6 @@ ENTRY(__eabi) blr +END(__eabi) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/gen/fabs.S =================================================================== --- head/lib/libc/powerpc/gen/fabs.S +++ head/lib/libc/powerpc/gen/fabs.S @@ -33,5 +33,6 @@ ENTRY(fabs) fabs %f1,%f1 blr +END(fabs) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/gen/setjmp.S =================================================================== --- head/lib/libc/powerpc/gen/setjmp.S +++ head/lib/libc/powerpc/gen/setjmp.S @@ -68,6 +68,7 @@ stmw %r9,20(%r6) li %r3,0 /* return (0) */ blr +END(setjmp) WEAK_REFERENCE(CNAME(__longjmp), longjmp) ENTRY(__longjmp) @@ -86,5 +87,6 @@ bnelr li %r3,1 blr +END(__longjmp) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/gen/sigsetjmp.S =================================================================== --- head/lib/libc/powerpc/gen/sigsetjmp.S +++ head/lib/libc/powerpc/gen/sigsetjmp.S @@ -73,6 +73,7 @@ stmw %r9,20(%r6) li %r3,0 blr +END(sigsetjmp) ENTRY(siglongjmp) lmw %r9,20(%r3) @@ -94,5 +95,6 @@ bnelr li %r3,1 blr +END(siglongjmp) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/sys/brk.S =================================================================== --- head/lib/libc/powerpc/sys/brk.S +++ head/lib/libc/powerpc/sys/brk.S @@ -71,5 +71,6 @@ 1: b PIC_PLT(HIDENAME(cerror)) +END(brk) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/sys/exect.S =================================================================== --- head/lib/libc/powerpc/sys/exect.S +++ head/lib/libc/powerpc/sys/exect.S @@ -37,5 +37,6 @@ blr 1: b PIC_PLT(HIDENAME(cerror)) +END(exect) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/sys/pipe.S =================================================================== --- head/lib/libc/powerpc/sys/pipe.S +++ head/lib/libc/powerpc/sys/pipe.S @@ -41,5 +41,6 @@ blr /* and return 0 */ 1: b PIC_PLT(HIDENAME(cerror)) +END(pipe) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/sys/ptrace.S =================================================================== --- head/lib/libc/powerpc/sys/ptrace.S +++ head/lib/libc/powerpc/sys/ptrace.S @@ -56,5 +56,6 @@ blr 1: b PIC_PLT(HIDENAME(cerror)) +END(ptrace) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc/sys/sbrk.S =================================================================== --- head/lib/libc/powerpc/sys/sbrk.S +++ head/lib/libc/powerpc/sys/sbrk.S @@ -68,5 +68,6 @@ blr 2: b PIC_PLT(HIDENAME(cerror)) +END(sbrk) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/gen/_ctx_start.S =================================================================== --- head/lib/libc/powerpc64/gen/_ctx_start.S +++ head/lib/libc/powerpc64/gen/_ctx_start.S @@ -46,5 +46,6 @@ nop bl CNAME(abort) /* abort */ nop + END(_ctx_start) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/gen/_setjmp.S =================================================================== --- head/lib/libc/powerpc64/gen/_setjmp.S +++ head/lib/libc/powerpc64/gen/_setjmp.S @@ -80,6 +80,7 @@ std %r31,40 + 22*8(%r3) li %r3,0 blr +END(_setjmp) ENTRY(_longjmp) ld %r9,40 + 0*8(%r3) @@ -113,5 +114,6 @@ bnelr li %r3,1 blr +END(_longjmp) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/gen/fabs.S =================================================================== --- head/lib/libc/powerpc64/gen/fabs.S +++ head/lib/libc/powerpc64/gen/fabs.S @@ -33,5 +33,6 @@ ENTRY(fabs) fabs %f1,%f1 blr +END(fabs) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/gen/setjmp.S =================================================================== --- head/lib/libc/powerpc64/gen/setjmp.S +++ head/lib/libc/powerpc64/gen/setjmp.S @@ -92,6 +92,7 @@ li %r3,0 /* return (0) */ blr +END(setjmp) WEAK_REFERENCE(__longjmp, longjmp) ENTRY(__longjmp) @@ -132,5 +133,6 @@ bnelr li %r3,1 blr +END(__longjmp) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/gen/sigsetjmp.S =================================================================== --- head/lib/libc/powerpc64/gen/sigsetjmp.S +++ head/lib/libc/powerpc64/gen/sigsetjmp.S @@ -97,6 +97,7 @@ li %r3,0 blr +END(sigsetjmp) ENTRY(siglongjmp) ld %r9,40 + 0*8(%r3) @@ -141,5 +142,6 @@ bnelr li %r3,1 blr +END(siglongjmp) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/sys/brk.S =================================================================== --- head/lib/libc/powerpc64/sys/brk.S +++ head/lib/libc/powerpc64/sys/brk.S @@ -69,5 +69,6 @@ ld %r0,16(%r1) mtlr %r0 blr +END(brk) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/sys/exect.S =================================================================== --- head/lib/libc/powerpc64/sys/exect.S +++ head/lib/libc/powerpc64/sys/exect.S @@ -45,5 +45,6 @@ ld %r0,16(%r1) mtlr %r0 blr +END(exect) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/sys/pipe.S =================================================================== --- head/lib/libc/powerpc64/sys/pipe.S +++ head/lib/libc/powerpc64/sys/pipe.S @@ -49,5 +49,6 @@ ld %r0,16(%r1) mtlr %r0 blr +END(pipe) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/sys/ptrace.S =================================================================== --- head/lib/libc/powerpc64/sys/ptrace.S +++ head/lib/libc/powerpc64/sys/ptrace.S @@ -63,5 +63,6 @@ ld %r0,16(%r1) mtlr %r0 blr +END(ptrace) .section .note.GNU-stack,"",%progbits Index: head/lib/libc/powerpc64/sys/sbrk.S =================================================================== --- head/lib/libc/powerpc64/sys/sbrk.S +++ head/lib/libc/powerpc64/sys/sbrk.S @@ -64,5 +64,6 @@ ld %r0,16(%r1) mtlr %r0 blr +END(sbrk) .section .note.GNU-stack,"",%progbits