update dwarf2 asm unwind info [hppa64-*-* failures]

Richard Henderson rth@twiddle.net
Mon Aug 25 01:42:00 GMT 2008


John David Anglin wrote:
> Making .eh_frame read-only would
> have to be forced.  I believe that we would need the same pc-relative
> indirect trick as we currently use on linux to get the plabel out of
> .eh_frame (see patch below).

The patch is wrong.  We handle the indirect part inside the compiler
before we pass it on to the assembler.

But if you can get pc-relative relocs to those plabels, it would be
the easiest thing to do.  Far better than playing with segment bases.

> It looks like the symbol __text_seg provides
> the text base, but it is a dynamic symbol.  crtstuff.c probably
> would need some modification to pass the correct text and data bases.

Perhaps you could force __text_seg to be .hidden.  I don't know if
the hpux linker supports that sort of thing though...


r~



More information about the Gcc-patches mailing list