This is the mail archive of the
mailing list for the glibc project.
Re: ppc relocs
On Sun, Mar 02, 2003 at 04:16:00PM -0800, Roland McGrath wrote:
> > ppc32 does. gcc currently always produces PIC code for ppc64.
> My question is about the ABI spec, not just current practice. It sounds
> like it is in fact kosher on ppc32 to have all those 16-bit relocs in a
> dynamic reloc section and ld.so should handle it. Is that also true on ppc64?
As far as I'm aware, there's nothing in the ppc64 ABI that prohibits
position dependent code. Thus it's valid to generate the ADDR16 relocs
in a shared library.
IBM OzLabs - Linux Technology Centre