binutils/bfd/elf64-ppc.c patch: Add PLTREL24 support

Alan Modra amodra at
Thu Sep 19 11:54:51 EST 2002

On Wed, Sep 18, 2002 at 10:48:11AM -0400, Elliot Lee wrote:
> This patch makes bfd handle the PLTREL24 relocation thingie. I needed it
> to make glibc-CVS/sysdeps/powerpc/powerpc64/elf/start.S assemble. I just
> did a cut & paste from elf32-ppc.c, hopefully it's sane.

Hi Elliot,
  PLTREL24 isn't correct for powerpc64.  The powerpc64 plt doesn't
contain code so there is no need for a branch to the plt.  I suspect
you're using the wrong assembler when trying to compile glibc.

Alan Modra
IBM OzLabs - Linux Technology Centre

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list