This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Dodgy hpux PATCH: Target hooks for exception and eh frame sections
- To: rbrown64 at csc dot com dot au
- Subject: Re: Dodgy hpux PATCH: Target hooks for exception and eh frame sections
- From: Stan Shebs <shebs at apple dot com>
- Date: Thu, 25 Oct 2001 08:31:02 -0700
- CC: gcc-patches at gcc dot gnu dot org
- References: <OFCEAB54C5.A42A42D7-ONCA256AF0.0025D6D8@int.csc.com.au>
rbrown64@csc.com.au wrote:
>
> 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?
Argh, didn't think about that. This target struct approach is
trickier than it appears at first... Since there are a number of
configs that will want to see *something* for the slot, I'd suggest
moving the default function outside the #if, at the end of the file.
Sorry about the braino, a simple cross-build test would have caught.
Stan