crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAM...
authorRichard Henderson <rth@redhat.com>
Tue, 4 Jun 2002 02:55:28 +0000 (19:55 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 4 Jun 2002 02:55:28 +0000 (19:55 -0700)
        * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
        USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.

From-SVN: r54228

gcc/ChangeLog
gcc/crtstuff.c

index 261d12fb37b05e37cfcbebcd73faaeab12ce49c5..498c12130c39d875b1512324587b369d1f49361e 100644 (file)
@@ -1,3 +1,8 @@
+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.
index bfe611687365a48a16cdb3e9b6548bc02627c85a..041c810f6f453d197e6d764e14619ac78f8eae9f 100644 (file)
@@ -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