aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2006-10-28 18:11:28 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-10-28 18:11:28 +0000
commit22ba88ef4b11703fc7a0bfacaae08f411570d48f (patch)
treeb8b495ff787a48ab2e5b9ab8e18f98a7e4c17bcf /gcc/final.c
parente73dbcaefc086d603fcd8707d06aa9599ccd9476 (diff)
downloadgcc-22ba88ef4b11703fc7a0bfacaae08f411570d48f.zip
gcc-22ba88ef4b11703fc7a0bfacaae08f411570d48f.tar.gz
gcc-22ba88ef4b11703fc7a0bfacaae08f411570d48f.tar.bz2
except.h (output_function_exception_table): Add 'const char*' param.
* except.h (output_function_exception_table): Add 'const char*' param. * except.c (switch_to_exception_section): Add 'const char*' param. If named sections are supported and HAVE_LD_EH_GC_SECTIONS is defined and flag_function_sections is set, use a function-specific section. (output_function_exception_table): Add 'const char*' param. Adjust call to switch_to_exception_section. * final.c (rest_of_handle_final): Adjust calls to output_function_exception_table. * configure.ac (HAVE_LD_EH_GC_SECTIONS): New check. * config.in: Regenerate. * configure: Likewise. From-SVN: r118107
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c
index d64f0c3..9e35d53 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -3920,14 +3920,14 @@ rest_of_handle_final (void)
#ifdef TARGET_UNWIND_INFO
/* ??? The IA-64 ".handlerdata" directive must be issued before
the ".endp" directive that closes the procedure descriptor. */
- output_function_exception_table ();
+ output_function_exception_table (fnname);
#endif
assemble_end_function (current_function_decl, fnname);
#ifndef TARGET_UNWIND_INFO
/* Otherwise, it feels unclean to switch sections in the middle. */
- output_function_exception_table ();
+ output_function_exception_table (fnname);
#endif
user_defined_section_attribute = false;