From owner-svn-src-head@FreeBSD.ORG Wed Oct 1 15:00:27 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EFA39A9; Wed, 1 Oct 2014 15:00:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4EF702EB; Wed, 1 Oct 2014 15:00:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s91F0RVH032605; Wed, 1 Oct 2014 15:00:27 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s91F0LgJ032570; Wed, 1 Oct 2014 15:00:21 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201410011500.s91F0LgJ032570@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Wed, 1 Oct 2014 15:00:21 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 15:00:27 -0000 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