From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12251 invoked by alias); 19 Jun 2011 19:18:48 -0000 Received: (qmail 12243 invoked by uid 22791); 19 Jun 2011 19:18:47 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_PASS,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from smtprelay01.ispgateway.de (HELO smtprelay01.ispgateway.de) (80.67.18.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Jun 2011 19:18:23 +0000 Received: from [89.204.137.65] (helo=stokes.schwinge.homeip.net) by smtprelay01.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1QYNVj-0003kb-4b for binutils@sourceware.org; Sun, 19 Jun 2011 21:18:21 +0200 Received: (qmail 13003 invoked from network); 19 Jun 2011 19:17:57 -0000 Received: from kepler.schwinge.homeip.net (192.168.111.7) by stokes.schwinge.homeip.net with QMQP; 19 Jun 2011 19:17:57 -0000 Received: (nullmailer pid 18101 invoked by uid 1000); Sun, 19 Jun 2011 19:17:57 -0000 From: Thomas Schwinge To: "H\.J\. Lu" , Binutils Subject: Re: PATCH: PR ld/12730: regression] crash when allocating in a static constructor In-Reply-To: References: <20110505051832.GA28229@intel.com> <20110505082721.GG7018@bubble.grove.modra.org> <20110505141230.GJ7018@bubble.grove.modra.org> <20110507081035.GR7018@bubble.grove.modra.org> User-Agent: Notmuch/0.5-77-g335dd52 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Sun, 19 Jun 2011 19:18:00 -0000 Message-ID: <87oc1tzl3w.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Df-Sender: thomas@schwinge.name X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00217.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1626 Hallo! On Sat, 7 May 2011 06:39:42 -0700, "H.J. Lu" wrote: > Here is the updated patch. OK to install? (Has been in the mean time.) > ld/testsuite/ >=20 > 2011-05-07 H.J. Lu >=20 > PR ld/12730 > * ld-elf/elf.exp (array_tests): Add "pr12730". > (array_tests_pie): New. > (array_tests_static): Add -static for ""static init array mixed". > Add "static pr12730". Run array_tests_pie for Linux. > diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp > index 73a417c..6808d8a 100644 > --- a/ld/testsuite/ld-elf/elf.exp > +++ b/ld/testsuite/ld-elf/elf.exp > [...] > + > +# Run PIE tests only on Linux. > +if { [istarget "*-*-linux*"] } { > + run_ld_link_exec_tests $xfails $array_tests_pie > +} > + > [...] Why, oh why? :-) ld/testsuite/ * ld-elf/elf.exp: Execute array_tests_pie tests on *-*-gnu*, too. --- ld/testsuite/ld-elf/elf.exp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index ff0f03e..da24bed 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -150,8 +150,8 @@ set array_tests_static { set xfails [list "*-*-netbsdelf*"] run_ld_link_exec_tests $xfails $array_tests =20 -# Run PIE tests only on Linux. -if { [istarget "*-*-linux*"] } { +if { [istarget *-*-linux*] + || [istarget *-*-gnu*] } { run_ld_link_exec_tests $xfails $array_tests_pie } =20 --=20 tg: (38b56ed..) hurd/testsuite (depends on: master) OK to commit? (Or are such changes even obvious and don't need approval?) Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature Content-length: 489 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJN/ktjAAoJEGe3hdm9kOii04YIAJuuoLOhzEnPeItb5EvrTdCD CYptAY7rjoQi6UHEIP7zG/6dX3P9G23z+UJfxvMA5NxLM83ay6l0AYWTctS+iIL1 pL5/HAG3gwwLIimIdD/q5uzWVmgnkKBz+GFdj843E+y7N8SfddfNULQzOQtuZ/Zg xo4VTiAkhZVY1ybBnc5KVcXRYU2hZRW/KLwuFT0G9P59w9/buN+wJhrh9A/Kb0Rg 6CBfC2ugd431NQyzaInZejBh4aN/YnXTaPFbyG3BmvKCTfwfAu+eDBUekuiDPEAH 8gKqQ3EiwwHaA9XOEw5vykDQ9ffbdFSB6TFfokrSzflDckNYNWRUtR9ZxvIdl1U= =JMej -----END PGP SIGNATURE----- --=-=-=--