aboutsummaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-06-03 19:55:28 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-06-03 19:55:28 -0700
commit618939dec269cc6143e873f996d551ef9a319a2d (patch)
treec911158b02535e80daad70fcf50693800c78e4e9 /gcc/crtstuff.c
parent6933647a67798a3ef9c0d9918aa9d5e6f47ad902 (diff)
downloadgcc-618939dec269cc6143e873f996d551ef9a319a2d.zip
gcc-618939dec269cc6143e873f996d551ef9a319a2d.tar.gz
gcc-618939dec269cc6143e873f996d551ef9a319a2d.tar.bz2
crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.
* crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME. From-SVN: r54228
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r--gcc/crtstuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index bfe6116..041c810 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -187,13 +187,13 @@ STATIC func_ptr __DTOR_LIST__[1]
= { (func_ptr) (-1) };
#endif /* __DTOR_LIST__ alternatives */
-#ifdef EH_FRAME_SECTION_NAME
+#ifdef USE_EH_FRAME_REGISTRY
/* Stick a label at the beginning of the frame unwind info so we can register
and deregister it with the exception handling library code. */
STATIC char __EH_FRAME_BEGIN__[]
__attribute__((section(EH_FRAME_SECTION_NAME), aligned(4)))
= { };
-#endif /* EH_FRAME_SECTION_NAME */
+#endif /* USE_EH_FRAME_REGISTRY */
#ifdef JCR_SECTION_NAME
/* Stick a label at the beginning of the java class registration info