aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1999-09-09 21:36:20 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-09-09 17:36:20 -0400
commit31cf01446d16abdebb2b05bb8183ba487648900c (patch)
tree723f2802719575de5ff62a84c4285e1397b7da80 /gcc/dwarf2out.c
parenta8f73d4b365bbfe9145bfd4ae16159d632ca0c33 (diff)
downloadgcc-31cf01446d16abdebb2b05bb8183ba487648900c.zip
gcc-31cf01446d16abdebb2b05bb8183ba487648900c.tar.gz
gcc-31cf01446d16abdebb2b05bb8183ba487648900c.tar.bz2
defaults.h (EH_FRAME_SECTION, [...]): Define here.
* defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here. * crtstuff.c: Not here. * dwarf2out.c: Or here. * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame info. From-SVN: r29241
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 1d30f0d..a79339c 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -1674,24 +1674,6 @@ output_cfi (cfi, fde)
}
}
-#if !defined (EH_FRAME_SECTION)
-#if defined (EH_FRAME_SECTION_ASM_OP)
-#define EH_FRAME_SECTION() eh_frame_section();
-#else
-#if defined (ASM_OUTPUT_SECTION_NAME)
-#define EH_FRAME_SECTION() \
- do { \
- named_section (NULL_TREE, ".eh_frame", 0); \
- } while (0)
-#endif
-#endif
-#endif
-
-/* If we aren't using crtstuff to run ctors, don't use it for EH. */
-#if !defined (HAS_INIT_SECTION) && !defined (INIT_SECTION_ASM_OP)
-#undef EH_FRAME_SECTION
-#endif
-
/* Output the call frame information used to used to record information
that relates to calculating the frame pointer, and records the
location of saved registers. */