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: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at twiddle dot net (Richard Henderson)
- 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 19:24:48 -0400 (EDT)
- Subject: Re: update dwarf2 asm unwind info [hppa64-*-* failures]
> 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...
The segment bases are a bit of a problem. It appears that they must
be obtained from the dynamic loader using dlget() or dlmodinfo() calls.
The later provides a load module descriptor for an instruction pointer.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)