This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Special names tha ld needs to recognize for hppa64-hp-hpux11.X
On Tue, Feb 26, 2002 at 05:55:52PM -0500, John David Anglin wrote:
> * bfd/elf32-hppa.c (final_link_relocate): Revise relocation selectors
> as per "Processor-Specific ELF for PA_RISC, Version 1.43" document.
This change makes me a little nervous, even though I can't see anything
wrong with it. Are you sure an asm like the following will still work?
I think it will, but I'm not sure and recall being caught out before
when I used L'/R' selectors instead of LR'/RR' in plt stubs.
bl 0f,%0
depi 0,31,2,%0
0:
addil L'foo - ($PIC_pcrel$0 - 8),%0
ldo R'foo - ($PIC_pcrel$0 - 12)(%%r1),%1