aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2001-10-22 14:43:31 +0000
committerStan Shebs <shebs@gcc.gnu.org>2001-10-22 14:43:31 +0000
commit07c9d2eb2e9691d05219a18ecde9bc4a511d1a63 (patch)
tree6028234f9c01f45261eb56b926fa2cdb55368889 /gcc/output.h
parentbbea0391f048d6564ce44f4a27b8987318f2ea75 (diff)
downloadgcc-07c9d2eb2e9691d05219a18ecde9bc4a511d1a63.zip
gcc-07c9d2eb2e9691d05219a18ecde9bc4a511d1a63.tar.gz
gcc-07c9d2eb2e9691d05219a18ecde9bc4a511d1a63.tar.bz2
target.h (struct gcc_target): Add asm_out.exception_section, asm_out.eh_frame_section.
* target.h (struct gcc_target): Add asm_out.exception_section, asm_out.eh_frame_section. * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro. (TARGET_ASM_EH_FRAME_SECTION): New. (TARGET_INITIALIZER): Update. * output.h (default_exception_section): Declare. (default_eh_frame_section): Declare. * dwarf2out.c: Include target.h. (output_call_frame_info): Call target hook for eh frames. (default_eh_frame_section): New function. * except.c: Include target.h. (output_function_exception_table): Call target hook for exception section. * varasm.c (default_exception_section): Rename from exception_section, remove EXCEPTION_SECTION macro. * config/darwin.h (darwin_eh_frame_section): New function. (EXCEPTION_SECTION): Remove. (TARGET_ASM_EXCEPTION_SECTION): Define. * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove. (nextstep_exception_section): New function. (nextstep_eh_frame_section): New function. (TARGET_ASM_EXCEPTION_SECTION): Define. (TARGET_ASM_EH_FRAME_SECTION): Define. * config/pa/som.h (EXCEPTION_SECTION): Remove. (TARGET_ASM_EXCEPTION_SECTION): Define. * config/rs6000/sysv4.h, config/rs6000/xcoff.h (EXCEPTION_SECTION): Remove. (TARGET_ASM_EXCEPTION_SECTION): Define. * config/stormy16/stormy16.h: Remove comments referencing EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP. * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and TARGET_ASM_EH_FRAME_SECTION. From-SVN: r46409
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 18afc85..585d355 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -209,7 +209,10 @@ extern void named_section PARAMS ((tree, const char *, int));
extern void function_section PARAMS ((tree));
/* Tell assembler to switch to the section for the exception table. */
-extern void exception_section PARAMS ((void));
+extern void default_exception_section PARAMS ((void));
+
+/* Tell assembler to switch to the section for the EH frames. */
+extern void default_eh_frame_section PARAMS ((void));
/* Tell assembler to switch to the section for string merging. */
extern void mergeable_string_section PARAMS ((tree, unsigned HOST_WIDE_INT,