aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2005-12-10 17:38:45 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2005-12-10 17:38:45 +0000
commit775fe6e36ddaef38cca67c39bf34b93fcb836dc3 (patch)
tree6a74c66d537695cddcdac9f1dd1c5236c5effd76
parentf85f5913c933b4a278710a3f07358d0a210a1f23 (diff)
downloadgcc-775fe6e36ddaef38cca67c39bf34b93fcb836dc3.zip
gcc-775fe6e36ddaef38cca67c39bf34b93fcb836dc3.tar.gz
gcc-775fe6e36ddaef38cca67c39bf34b93fcb836dc3.tar.bz2
except.c (switch_to_exception_section): Only define if TARGET_UNWIND_INFO is not defined.
* except.c (switch_to_exception_section): Only define if TARGET_UNWIND_INFO is not defined. From-SVN: r108355
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 769b3d9..7a13135 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/except.c b/gcc/except.c
index f8aed34..39a35a1 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -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.