From 7753ca4bd933e9abc902d48e81bc105ac1b70478 Mon Sep 17 00:00:00 2001 From: schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sat, 10 Dec 2005 17:38:45 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 5 +++++ gcc/except.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 769b3d910cdb..7a13135f0e6c 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 f8aed34c5118..39a35a16cf88 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. -- GitLab