This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: update dwarf2 asm unwind info [hppa64-*-* failures]
- From: Richard Henderson <rth at twiddle dot net>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: sje at cup dot hp dot com, gcc-patches at gcc dot gnu dot org, dave dot anglin at nrc-cnrc dot gc dot ca, binutils-patches at gcc dot gnu dot org
- Date: Sun, 24 Aug 2008 16:10:34 -0700
- Subject: Re: update dwarf2 asm unwind info [hppa64-*-* failures]
- References: <20080824193415.7E55F4E2A@hiauly1.hia.nrc.ca>
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~