From c16207898bba39af7a6ec6159ceee8623dcfb951 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 14 Apr 2014 15:59:47 -0700 Subject: [4.9] Always enable --eh-frame-hdr for static executable See 5e6cdf76af295c9a39b695ca228cff675e8ff4ae and 23e3137ee2897464b051599b85a09f130d3ad05d Change-Id: Ibda473188e5a10f2a0592f2494ad00ad1f91e04b --- gcc-4.9/gcc/config.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc-4.9/gcc/config.in') diff --git a/gcc-4.9/gcc/config.in b/gcc-4.9/gcc/config.in index af02866dd..df7a3455f 100644 --- a/gcc-4.9/gcc/config.in +++ b/gcc-4.9/gcc/config.in @@ -1872,6 +1872,12 @@ #endif +/* Define if your system supports PT_GNU_EH_FRAME for static executable. */ +#ifndef USED_FOR_TARGET +#undef USE_EH_FRAME_HDR_FOR_STATIC +#endif + + /* Define to 1 if the 'long long' (or '__int64') is wider than 'long' but still efficiently supported by the host hardware. */ #ifndef USED_FOR_TARGET -- cgit v1.2.3