aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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