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.
This commit is contained in:
martin 2011-07-23 15:22:26 +00:00
parent 1db98a4a6d
commit 62d7638bb2
1 changed files with 4 additions and 0 deletions

View File

@ -262,3 +262,7 @@ __enable_execute_stack (void *addr) \
/* 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