oops, powerpc .plt
Alan Modra
amodra@bigpond.net.au
Wed May 8 16:07:00 GMT 2002
On Wed, May 08, 2002 at 05:08:47PM +0200, Franz Sirl wrote:
> That's bad, the kernel people already complained that they cannot set the
> page flags according to the contents of the object, cause then all -fpic
> compiled libs (including glibc) fail.
Aye. If I'm remembering correctly, the kernel just looks at segment
flags. In the case of ppc32, you'll get .data, .plt, .got etc. all in
one segment, and all executable if any of the component sections are
exec. So .plt executable effectively makes .got executable too.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list