Pass $NOPIE_CFLAGS/$NOPIE_LDFLAGS to "Run pr19031"
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Jun 2017 17:07:53 +0000 (10:07 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Jun 2017 17:07:53 +0000 (10:07 -0700)
PR ld/21090
* testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
$NOPIE_LDFLAGS to "Run pr19031".

ld/ChangeLog
ld/testsuite/ld-i386/i386.exp

index b2603aeae11d0895279dd05d0e4c3bcee64d7322..a8ca46b5b64af740c8fbb2aa0acdf0d4a5cf4fa3 100644 (file)
@@ -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.
index 4bf6706c48dc958b12610ae6892d343360861f1a..ac4fe33d33fbf1ac478fd16cc9dae6a99c739747 100644 (file)
@@ -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" \