diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-08-07 14:07:56 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-08-07 14:10:19 +0800 |
commit | 3cbd714aa558ccb83ed8294779d9dcd4399dd24f (patch) | |
tree | 4fb3cd936d88cc6a8f6f96871f341af7e6c6580e /gcc-4.6/gcc/config.in | |
parent | 34cef20a1108ff399ecbe13f42e1f6bc8c909b27 (diff) | |
download | toolchain_gcc-3cbd714aa558ccb83ed8294779d9dcd4399dd24f.tar.gz toolchain_gcc-3cbd714aa558ccb83ed8294779d9dcd4399dd24f.tar.bz2 toolchain_gcc-3cbd714aa558ccb83ed8294779d9dcd4399dd24f.zip |
[4.6,4.7] Always enable --eh-frame-hdr for static executable
See 23e3137ee2897464b051599b85a09f130d3ad05d for the reason why.
backport 4.8 patch from http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00969.html
Change-Id: I9496e11f314e5e2ec9359b993016723ab6366dad
Diffstat (limited to 'gcc-4.6/gcc/config.in')
-rw-r--r-- | gcc-4.6/gcc/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.6/gcc/config.in b/gcc-4.6/gcc/config.in index f7541ec66..3294f0dcd 100644 --- a/gcc-4.6/gcc/config.in +++ b/gcc-4.6/gcc/config.in @@ -1752,6 +1752,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 |