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]
Other format: [Raw text]

Re: Test DWARF2_UNWIND_INFO value for sjlj exceptions


On Thu, Sep 18, 2003 at 03:08:34AM +0200, Rainer Orth wrote:
> Richard Henderson writes:
> 
> > On Wed, Sep 17, 2003 at 08:30:51PM +0200, Rainer Orth wrote:
> > > Since the IRIX 6 O32 assembler doesn't handle DWARF 2 directives (unlike
> > > the different N32/N64 as or GNU as), DWARF2_UNWIND_INFO now depends on the
> > > ABI and assembler in use.
> > 
> > This is wrong.  If the assembler doesn't support the nice directives,
> > then we should be emitting them ourselves from the compiler with .byte.
> 
> I think I have been bitten by the lack of named section support in the
> native O32 assembler.  I'll try again, I suppose.

In this case you should fall all the way back to the Tru64 solution,
where we emit .byte stuff into the .data section, and have collect2
pull together all the fragments.

You should not have to switch to sjlj eh.

Briefly, it looks like TARGET_ASM_EH_FRAME_SECTION should be able to
switch for you on demand.  Feel free to break up default_eh_frame_section
into separate fragments so that you can call back into the bit that
does the data_section emission.


r~


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