summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-04 02:55:28 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-04 02:55:28 +0000
commitfabbeb08bc3466ada44ba1837a9785f47fee25fd (patch)
treec911158b02535e80daad70fcf50693800c78e4e9
parenta04268b2417f91be65d7206daf5692763796b2eb (diff)
downloadppe42-gcc-fabbeb08bc3466ada44ba1837a9785f47fee25fd.tar.gz
ppe42-gcc-fabbeb08bc3466ada44ba1837a9785f47fee25fd.zip
* crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54228 138bc75d-0d04-0410-961f-82ee72b054a4
-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 261d12fb37b..498c12130c3 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 bfe61168736..041c810f6f4 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
OpenPOWER on IntegriCloud