From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27162 invoked by alias); 15 Dec 2012 10:32:02 -0000 Received: (qmail 27149 invoked by uid 22791); 15 Dec 2012 10:32:01 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 15 Dec 2012 10:31:39 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Tjp1u-0003au-Nm from Thomas_Schwinge@mentor.com ; Sat, 15 Dec 2012 02:31:38 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 15 Dec 2012 02:31:38 -0800 Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Sat, 15 Dec 2012 10:31:36 +0000 From: Thomas Schwinge To: , Roland McGrath Subject: Testsuite de-Linuxification User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu) Date: Sat, 15 Dec 2012 10:32:00 -0000 Message-ID: <87mwxftxmn.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: 2012-12/txt/msg00148.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 2701 Hi! I applied the following to fix some issues that crept in while I was not looking. Roland, based on surrounding code, at least the stack exec and stack size ones should probably be enabled for NACL, too? * ld-elf/elf.exp (stack exec, stack size): Run for any GNU target. * ld-elf/maxpage3c.d: Run for any x86 GNU target. * ld-elf/maxpage4.d: Likewise. * ld-elf/maxpage5.d: Likewise. * ld-i386/export-class.exp: Likewise. diff --git ld/testsuite/ld-elf/elf.exp ld/testsuite/ld-elf/elf.exp index a33e3b6..8652131 100644 --- ld/testsuite/ld-elf/elf.exp +++ ld/testsuite/ld-elf/elf.exp @@ -126,7 +126,8 @@ if { [check_gc_sections_available] && ![istarget "v850-= *-*"] } { } } =20 -if { [istarget *-*-*linux*] } { +if { [istarget *-*-linux*] + || [istarget *-*-gnu*] } { run_ld_link_tests { {"stack exec" "-z execstack" "" {stack.s} {{readelf {-Wl} stack-exec.rd}} "stack-exec.exe"} diff --git ld/testsuite/ld-elf/maxpage3c.d ld/testsuite/ld-elf/maxpage3c.d index 66fef32..354a8b9 100644 --- ld/testsuite/ld-elf/maxpage3c.d +++ ld/testsuite/ld-elf/maxpage3c.d @@ -2,7 +2,7 @@ #as: --32 #ld: -m elf_i386 -z max-page-size=3D0x10000000 -T maxpage3.t #readelf: -lS --wide -#target: x86_64-*-linux* i?86-*-linux-gnu +#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu* =20 #... \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.* diff --git ld/testsuite/ld-elf/maxpage4.d ld/testsuite/ld-elf/maxpage4.d index cde43d7..a08e856 100644 --- ld/testsuite/ld-elf/maxpage4.d +++ ld/testsuite/ld-elf/maxpage4.d @@ -2,7 +2,7 @@ #as: --32 #ld: -z max-page-size=3D0x200000 -T maxpage4.t #readelf: -l --wide -#target: x86_64-*-linux* i?86-*-linux-gnu +#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu* =20 #... LOAD+.*0x200000 diff --git ld/testsuite/ld-elf/maxpage5.d ld/testsuite/ld-elf/maxpage5.d index bcbd39c..9d9b57a 100644 --- ld/testsuite/ld-elf/maxpage5.d +++ ld/testsuite/ld-elf/maxpage5.d @@ -3,7 +3,7 @@ #ld: -z max-page-size=3D0x200000 -T maxpage5.t #objcopy_linked_file: -R .foo #readelf: -l --wide -#target: x86_64-*-linux* i?86-*-linux-gnu +#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu* =20 #... Program Headers: diff --git ld/testsuite/ld-i386/export-class.exp ld/testsuite/ld-i386/expor= t-class.exp index cd96b4b..9dedd90 100644 --- ld/testsuite/ld-i386/export-class.exp +++ ld/testsuite/ld-i386/export-class.exp @@ -29,9 +29,8 @@ if { ![is_elf_format] } { return } =20 -# Exclude non-Linux targets; feel free to include your favorite one -# if you like. -if { ![istarget i?86-*-linux*] } { +if { !([istarget i?86-*-linux*] + || [istarget i?86-*-gnu*]) } { return } =20 Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature Content-length: 489 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQzFGAAAoJEGe3hdm9kOiiI34IAOkk7OkkJwU/vdprUrEQAh3Q ltyghwMnHVkitsCk5Ar1zWmYugOG4HEAC6C3nsq7A8VG3CaDMO9BKUtme/u4kyhb nuSrthTNDDtWXUYzVovmkED2hPaFZnafre2WiHBYE9DkR+Hg4NaNbWj87CH052yg luG/AX+G8GH1Qeb7aSMa3/Rb1yrLjVjG+zoUVt2p1ciLjMqTONZu+GyLXza9QiR3 mGcqWOcoQFedRnYDFsIGuEjSxBdpLVKmqnp8+AGkzSCjeu4ZAQeV/Lf+AiEqluSj q2eLGie3JfOQb4SEL1MRYFSD1rY/IA7GSq8fs4qy9j7V1bbgTMgZykSkCaedTsw= =AGY9 -----END PGP SIGNATURE----- --=-=-=--