[ppc32]: LEA() incompatible with secure_plt

tg at gmplib.org tg at gmplib.org
Tue May 12 08:02:42 UTC 2015

Felix Janda <felix.janda at posteo.de> writes:

  LEA() in mpn/powerpc32/elf.m4 uses an idiom to obtain a pointer to the
  GOT which is incompatible with the newer secure_plt linking model for
  powerpc and makes binutils fall back to the older bss-plt (with rwx
  PLT and GOT). See
  The attached patch (should still apply to the current version) uses
  the idea from the second link to make LEA() work without an executable
Sorry for the slow reply.

We'll take care of this for the next GMP release.  Thanks for letting us
know about this ABI change!

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list