This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dodgy hpux PATCH: Target hooks for exception and eh frame sections


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]