This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Target hooks for exception and eh frame sections
- To: shebs at apple dot com
- Subject: Re: PATCH: Target hooks for exception and eh frame sections
- From: Lars Brinkhoff <lars dot spam at nocrew dot org>
- Date: 23 Oct 2001 10:32:25 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: nocrew
> * dwarf2out.c: Include target.h.
> (output_call_frame_info): Call target hook for eh frames.
> (default_eh_frame_section): New function.
> + #define TARGET_ASM_EH_FRAME_SECTION default_eh_frame_section
The definition of default_eh_frame_section is inside "#if defined
(DWARF2_DEBUGGING_INFO) || (DWARF2_UNWIND_INFO)". What about targets
that define neither of those? Can default_eh_frame_section be moved
outside the #if?