From: H.J. Lu Date: Fri, 21 Nov 2014 15:57:38 +0000 (-0800) Subject: Run plt-main test with -pie X-Git-Tag: gdb-7.9-branchpoint~461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce641d0b6b9fc9d873cf204c5ecd25a451fef3d2;p=thirdparty%2Fbinutils-gdb.git Run plt-main test with -pie * ld-x86-64/x86-64.exp: Run plt-main test with -pie. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 0068a85a464..9a264b6cced 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-11-21 H.J. Lu + + * ld-x86-64/x86-64.exp: Run plt-main test with -pie. + 2014-11-21 Terry Guo * ld-arm/tls-longplt-lib.s: Require ARMv6T2. diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index ecc1194b1f4..ab1bfd1195b 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -386,6 +386,16 @@ if { [isnative] && [which $CC] != 0 } { "plt-main" \ "plt-main.out" \ ] \ + [list \ + "Run plt-main with PIE" \ + "tmpdir/plt-main1.o tmpdir/plt-main2.o tmpdir/plt-main3.o \ + tmpdir/plt-main4.o tmpdir/libplt-lib.so -pie" \ + "" \ + { plt-main5.c } \ + "plt-main-pie" \ + "plt-main.out" \ + "-fPIC" \ + ] \ ] }