aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/config/rs6000/sysv4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/gcc/config/rs6000/sysv4.h')
-rw-r--r--gcc-4.6/gcc/config/rs6000/sysv4.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/config/rs6000/sysv4.h b/gcc-4.6/gcc/config/rs6000/sysv4.h
index aeb934f6e..95fab1054 100644
--- a/gcc-4.6/gcc/config/rs6000/sysv4.h
+++ b/gcc-4.6/gcc/config/rs6000/sysv4.h
@@ -835,7 +835,11 @@ extern int fixuplabelno;
-dynamic-linker " LINUX_DYNAMIC_LINKER "}}"
#if defined(HAVE_LD_EH_FRAME_HDR)
-# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
+# ifdef USE_EH_FRAME_HDR_FOR_STATIC
+# define LINK_EH_SPEC "--eh-frame-hdr "
+# else
+# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
+# endif
#endif
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \