From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22801 invoked by alias); 12 Jun 2006 19:13:43 -0000 Received: (qmail 22788 invoked by uid 22791); 12 Jun 2006 19:13:42 -0000 X-Spam-Check-By: sourceware.org Received: from mail-relay-3.tiscali.it (HELO mail-relay-3.tiscali.it) (213.205.33.43) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Jun 2006 19:13:39 +0000 Received: from c1358217.kevquinn.com (84.222.85.17) by mail-relay-3.tiscali.it (7.3.104) id 4489442D00053FEE; Mon, 12 Jun 2006 21:12:51 +0200 Date: Mon, 12 Jun 2006 19:56:00 -0000 From: "Kevin F. Quinn" To: Olivier Galibert Cc: binutils@sourceware.org, toolchain@gentoo.org Subject: Re: Adding -z nonow to complement -z now Message-ID: <20060612212204.399d77cc@c1358217.kevquinn.com> In-Reply-To: <20060612184810.GA63035@dspnet.fr.eu.org> References: <20060612200003.1cc84ee3@c1358217.kevquinn.com> <20060612184810.GA63035@dspnet.fr.eu.org> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_t_Di0aiep/A3w.6ygdX5Ro2"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00196.txt.bz2 --Sig_t_Di0aiep/A3w.6ygdX5Ro2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-length: 1001 On Mon, 12 Jun 2006 20:48:10 +0200 Olivier Galibert wrote: > On Mon, Jun 12, 2006 at 08:00:03PM +0200, Kevin F. Quinn wrote: > > 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. >=20 > Why don't you fix libtool? The essential problem for us is that ld doesn't provide a switch-off option to go with the switch-on option. There are other downsides that go with this. I prefer to tackle that essential issue, especially as it's trivial to do. Is there a good reason why this shouldn't be added to ld? --=20 Kevin F. Quinn --Sig_t_Di0aiep/A3w.6ygdX5Ro2 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc Content-length: 191 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEjb7g9G2S8dekcG0RAqmAAJ9a5CooAfMdnZQgYOxbLOolXhXPNgCgjGWy mlycuEYn9W8yudW30tpMYM8= =KrQq -----END PGP SIGNATURE----- --Sig_t_Di0aiep/A3w.6ygdX5Ro2--