https://sourceware.org/bugzilla/show_bug.cgi?id=32016

Chris Packham <judge.packham+glibc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Chris Packham <judge.packham+glibc at gmail dot com> ---
Alan Modra explained on the binutils mailing list:

Around 2007, the powerpc ABI (and gcc and binutils) gained what I
called secure-plt.  Prior to that, the powerpc plt section was a bss
section that was written with code generated by ld.so.  This required
a section that was both writable and executable, and therefore
somewhat of a target for malicious code.  The new secure-plt ABI
doesn't use an executable plt, but the code generated to make a call
via the plt is a little slower than bss-plt in moderately sized
executables and libraries.  Your gcc might be configured to generate
bss-plt code by default, so to use ld.gold when linking shared
libraries or PIEs you'd need to pass -msecure-plt to gcc when
compiling.  If your project has assembly that makes bss-plt style
calls then more work will be needed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to