mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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
This commit is contained in:
parent
fbbe2b9a1f
commit
b0f1246ab4
@ -1,3 +1,10 @@
|
||||
2013-03-28 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.
|
||||
|
||||
2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
|
||||
[BZ #15214]
|
||||
|
@ -35,6 +35,13 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
/* We do not want .eh_frame info for crt1.o since crt1.o is linked
|
||||
before crtbegin.o, the file defining __EH_FRAME_BEGIN__. */
|
||||
#undef cfi_startproc
|
||||
#define cfi_startproc
|
||||
#undef cfi_endproc
|
||||
#define cfi_endproc
|
||||
|
||||
/* These are the various addresses we require. */
|
||||
#ifdef PIC
|
||||
.section ".data"
|
||||
|
@ -35,6 +35,13 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
/* We do not want .eh_frame info for crt1.o since crt1.o is linked
|
||||
before crtbegin.o, the file defining __EH_FRAME_BEGIN__. */
|
||||
#undef cfi_startproc
|
||||
#define cfi_startproc
|
||||
#undef cfi_endproc
|
||||
#define cfi_endproc
|
||||
|
||||
/* These are the various addresses we require. */
|
||||
#ifdef PIC
|
||||
.section ".data.rel.ro.local","aw"
|
||||
|
Loading…
Reference in New Issue
Block a user