aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-22 10:07:53 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-22 10:07:53 -0700
commit329b5ba137687c4cf00413534a08ec33c8acb556 (patch)
tree1d018e71ed43c3fd34e10acc04dbc0bcf92c8edf /ld/testsuite/ld-i386
parent9d1c54ed7f3a4a70f35f85658c311697c17a95f5 (diff)
downloadgdb-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/testsuite/ld-i386')
-rw-r--r--ld/testsuite/ld-i386/i386.exp3
1 files changed, 2 insertions, 1 deletions
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" \