aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/crtstuff.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 261d12f..498c121 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2002-06-03 Richard Henderson <rth@redhat.com>
+ * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
+ USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.
+
+2002-06-03 Richard Henderson <rth@redhat.com>
+
* config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.
* config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
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