diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-06-22 10:07:53 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-22 10:07:53 -0700 |
commit | 329b5ba137687c4cf00413534a08ec33c8acb556 (patch) | |
tree | 1d018e71ed43c3fd34e10acc04dbc0bcf92c8edf /ld | |
parent | 9d1c54ed7f3a4a70f35f85658c311697c17a95f5 (diff) | |
download | gdb-329b5ba137687c4cf00413534a08ec33c8acb556.zip gdb-329b5ba137687c4cf00413534a08ec33c8acb556.tar.gz gdb-329b5ba137687c4cf00413534a08ec33c8acb556.tar.bz2 |
Pass $NOPIE_CFLAGS/$NOPIE_LDFLAGS to "Run pr19031"
PR ld/21090
* testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
$NOPIE_LDFLAGS to "Run pr19031".
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-i386/i386.exp | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b2603ae..a8ca46b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,7 +1,13 @@ 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/21090 - * testsuite/ld-gc/gc.ex: Compile tmpdir/pr14265.o with + * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and + $NOPIE_LDFLAGS to "Run pr19031". + +2017-06-22 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/21090 + * testsuite/ld-gc/gc.exp: Compile tmpdir/pr14265.o with $NOPIE_CFLAGS. * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and $NOPIE_LDFLAGS if non-PIE is required. diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp index 4bf6706..ac4fe33 100644 --- a/ld/testsuite/ld-i386/i386.exp +++ b/ld/testsuite/ld-i386/i386.exp @@ -986,11 +986,12 @@ if { [isnative] ] \ [list \ "Run pr19031" \ - "tmpdir/pr19031.so" \ + "$NOPIE_LDFLAGS tmpdir/pr19031.so" \ "" \ { pr19031b.S pr19031c.c } \ "pr19031" \ "pr19031.out" \ + "$NOPIE_CFLAGS" \ ] \ [list \ "Run got1" \ |