r113 - trunk/text/chapter05
robert at linuxfromscratch.org
Wed Jan 19 20:15:26 PST 2005
On January 19, 2005 11:06 pm, Archaic wrote:
> On Wed, Jan 19, 2005 at 10:25:01AM -0700, robert at linuxfromscratch.org wrote:
> > Log:
> > changed gcc specs to pass ld -z now,relro,combreloc to libraries as well
> > as executables
> I thought that was a bad thing?
-pie won't work on libs. -z now, relro, and combreloc all deal with how
dynamic object sections are handled. Those options should work equally well
with executables and libraries. The relro marking will stick on a static
program or library, but I don't think it would actually do anything, so I
left it out for statics.
More information about the hlfs-dev