diff options
author | Richard Sandiford <richard@codesourcery.com> | 2005-12-10 00:20:16 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2005-12-10 00:20:16 +0000 |
commit | 0f67af1ce30cdee9273baa65166fabbcb6eb04b8 (patch) | |
tree | 7670fde6cf99d8c4dcfee7a32b97bae2259e7736 /gcc/output.h | |
parent | 386e0f8c3e02ce5f2e88395c9180f0f1ad1c42fd (diff) | |
download | gcc-0f67af1ce30cdee9273baa65166fabbcb6eb04b8.tar.gz |
dwarf2out.c (default_eh_frame_section): Delete, moving handling of EH_FRAME_SECTION_NAME into...
* dwarf2out.c (default_eh_frame_section): Delete, moving handling
of EH_FRAME_SECTION_NAME into...
(switch_to_eh_frame_section): ...here. Try to set eh_frame_section
if it is still null.
* except.c (default_exception_section): Delete, moving most
of the code to...
(switch_to_exception_section): ...this new function. Set
exception_section if it is still null, then switch to it.
(output_function_exception_table): Use switch_to_exception_section.
* varasm.c (exception_section, eh_frame_section): Update comments.
(get_section): Hoist use of SECTION_NAMED.
(init_varasm_once): Don't set exception_section and eh_frame_section.
* output.h (default_exception_section): Delete.
(default_eh_frame_section): Delete.
testsuite/
* gcc.dg/20051207-1.c,
* gcc.dg/20051207-2.c,
* gcc.dg/20051207-3.c: New tests.
From-SVN: r108336
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/output.h b/gcc/output.h index 47989e94422..5ea0faaf8ae 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -384,12 +384,6 @@ extern const char *user_label_prefix; /* Default target function prologue and epilogue assembler output. */ extern void default_function_pro_epilogue (FILE *, HOST_WIDE_INT); -/* Return the default value of exception_section. */ -extern section *default_exception_section (void); - -/* Return the default value of eh_frame_section. */ -extern section *default_eh_frame_section (void); - /* Default target hook that outputs nothing to a stream. */ extern void no_asm_to_stream (FILE *); |