]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgcc2.c (__do_global_dtors): Only do EH frame stuff if ! HAS_INIT_SECTION.
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 2 Nov 1999 07:24:27 +0000 (07:24 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 2 Nov 1999 07:24:27 +0000 (02:24 -0500)
* libgcc2.c (__do_global_dtors): Only do EH frame stuff if
! HAS_INIT_SECTION.

From-SVN: r30339

gcc/ChangeLog
gcc/libgcc2.c

index 8e8895d566b717ecbc11ffc855e0aa0beb98ebd3..42f084465ab41ac0ebae06a9c2d59c4c2d64ba4e 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
+       ! HAS_INIT_SECTION.
+
 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
 
        * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
index 68a4b4b67df545d81970380f5e10309b35a39707..114ada21f61b83bd96cefeaece7d139829424a57 100644 (file)
@@ -2866,7 +2866,7 @@ __do_global_dtors ()
       (*(p-1)) ();
     }
 #endif
-#ifdef EH_FRAME_SECTION
+#if defined (EH_FRAME_SECTION) && !defined (HAS_INIT_SECTION)
   {
     static int completed = 0;
     if (! completed)