Adding -z nonow to complement -z now
Kevin F. Quinn
kevquinn@gentoo.org
Mon Jun 12 18:49:00 GMT 2006
Hi.
Attached is a little patch that adds '-z nonow' as the opposite of '-z
now'. Could it be considered for inclusion, please?
Although some might consider it pointless, it would be very useful to
us (Gentoo Hardened project). We flip the default when building with
gcc to set -z now by default. Our current method of undoing this
(which we need to do very occasionally) is via an extra option handled
in a gcc specs file; the downside here is that libtool in particular
filters our option because it doesn't recognise it. With this, we can
pass '-Wl,-z,nonow' in LDFLAGS and libtool pays attention.
If there's anything further I need to do to make this acceptable,
please let me know.
Thanks
--
Kevin F. Quinn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-060612-znonow.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060612/14d84d36/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060612/14d84d36/attachment.sig>
More information about the Binutils
mailing list