This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: oops, powerpc .plt
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