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: 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)


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