summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-10 17:38:45 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-10 17:38:45 +0000
commit7753ca4bd933e9abc902d48e81bc105ac1b70478 (patch)
tree6a74c66d537695cddcdac9f1dd1c5236c5effd76 /gcc/except.c
parente64d3e8e6f53d660aa4639355e1397a7a9a16dc6 (diff)
downloadgcc-7753ca4bd933e9abc902d48e81bc105ac1b70478.tar.gz
* except.c (switch_to_exception_section): Only define if
TARGET_UNWIND_INFO is not defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c
index f8aed34c511..39a35a16cf8 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.