This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: powerpc crt1.o
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, Steven Munroe <munroesj at linux dot vnet dot ibm dot com>
- Date: Thu, 28 Mar 2013 12:21:10 -0500
- Subject: Re: powerpc crt1.o
- References: <20130313053737 dot GA3230 at bubble dot grove dot modra dot org>
On Wed, Mar 13, 2013 at 12:37 AM, Alan Modra <amodra@gmail.com> wrote:
> .eh_frame info in crt1.o isn't useful and triggers a gold bug:
> http://sourceware.org/bugzilla/show_bug.cgi?id=14675
> This patch stops us generating it for powerpc.
>
> 2013-03-13 Alan Modra <amodra@gmail.com>
>
> * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
> Define as empty.
> * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
> Likewise.
I tested on PowerPC32 and PowerPC64 for base and power7 with no
regressions. I pushed this patch upstream with the following commit:
commit b0f1246ab45b6d27e2bba64aa8dfe407ac740537
Author: Alan Modra <amodra@gmail.com>
Date: Thu Mar 28 12:16:28 2013 -0500
PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.
The .eh_frame info in crt1.o isn't useful and this patch prevents it from
being generated on PowerPC. It triggers the following gold bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=14675