PR ld/21090
* testsuite/ld-size/size.exp: Pass $NOPIE_LDFLAGS to size-4a,
size-4b, size-5a, size-5b, size-6 and size-8 tests.
+ * testsuite/ld-srec/srec.exp (NOPIE_CFLAGS): New.
+ (NOPIE_LDFLAGS): Likewise.
+ (CC): Add $NOPIE_CFLAGS $NOPIE_LDFLAGS.
+ (CXX): Likewise.
+ * testsuite/ld-x86-64/no-plt.exp (NOPIE_CFLAGS): New.
+ (NOPIE_LDFLAGS): Likewise.
+ Pass $NOPIE_LDFLAGS to "No PLT (dynamic 1a)",
+ "No PLT (dynamic 1c)" and "Run pr20253-2f".
+ * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS to
+ "Build gotpcrel1" and "Run pr19031".
2017-06-21 Alan Modra <amodra@gmail.com>