From: H.J. Lu Date: Thu, 22 Jun 2017 17:07:53 +0000 (-0700) Subject: Pass $NOPIE_CFLAGS/$NOPIE_LDFLAGS to "Run pr19031" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=329b5ba137687c4cf00413534a08ec33c8acb556;p=binutils-gdb.git 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". --- diff --git a/ld/ChangeLog b/ld/ChangeLog index b2603aeae11..a8ca46b5b64 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,7 +1,13 @@ 2017-06-22 H.J. Lu 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 + + 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 4bf6706c48d..ac4fe33d33f 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" \