Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config We use the "iterate phdrs ...



details:   https://anonhg.NetBSD.org/src/rev/7fe0183a4a74
branches:  trunk
changeset: 767590:7fe0183a4a74
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jul 23 15:22:26 2011 +0000

description:
We use the "iterate phdrs method for exception unwinding now, so
make sure to pass --eh-frame-hdr to get the GNU_EH_FRAME header
generated.

diffstat:

 external/gpl3/gcc/dist/gcc/config/netbsd.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 16b29f95b21e -r 7fe0183a4a74 external/gpl3/gcc/dist/gcc/config/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd.h        Sat Jul 23 14:28:28 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd.h        Sat Jul 23 15:22:26 2011 +0000
@@ -262,3 +262,7 @@
 
 /* Define this so we can compile MS code for use with WINE.  */
 #define HANDLE_PRAGMA_PACK_PUSH_POP 1
+
+#if defined(HAVE_LD_EH_FRAME_HDR)
+#define LINK_EH_SPEC "--eh-frame-hdr "
+#endif



Home | Main Index | Thread Index | Old Index