]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
except.c (switch_to_exception_section): Only define if TARGET_UNWIND_INFO is not...
authorAndreas Schwab <schwab@suse.de>
Sat, 10 Dec 2005 17:38:45 +0000 (17:38 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 10 Dec 2005 17:38:45 +0000 (17:38 +0000)
* except.c (switch_to_exception_section): Only define if
TARGET_UNWIND_INFO is not defined.

From-SVN: r108355

gcc/ChangeLog
gcc/except.c

index 769b3d910cdb700263686a1acc1f02522bd33bcb..7a13135f0e6cda07270b983b9a774d17f0f48e8d 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-10  Andreas Schwab  <schwab@suse.de>
+
+       * except.c (switch_to_exception_section): Only define if
+       TARGET_UNWIND_INFO is not defined.
+
 2005-12-10  Richard Sandiford  <richard@codesourcery.com>
 
        * config/darwin.h (HAS_INIT_SECTION): Remove definition.
index f8aed34c511819be4ab196ad471c702cb7cf126e..39a35a16cf8863aa11dc79902642c1198801024f 100644 (file)
@@ -3425,6 +3425,7 @@ sjlj_output_call_site_table (void)
   call_site_base += n;
 }
 
+#ifndef TARGET_UNWIND_INFO
 /* Switch to the section that should be used for exception tables.  */
 
 static void
@@ -3454,6 +3455,7 @@ switch_to_exception_section (void)
     }
   switch_to_section (exception_section);
 }
+#endif
 
 
 /* Output a reference from an exception table to the type_info object TYPE.