* testsuite/ld-i386/tls.exp: Add -Wl,--no-as-needed to
"TLS without PLT (1)" and "TLS without PLT (3)".
* testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to
to "TLS without PLT (3)".
+2017-05-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-i386/tls.exp: Add -Wl,--no-as-needed to
+ "TLS without PLT (1)" and "TLS without PLT (3)".
+ * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to
+ to "TLS without PLT (3)".
+
2017-05-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/21384
] \
[list \
"TLS without PLT (1)" \
- "tmpdir/tls-main1.o \
+ "-Wl,--no-as-needed tmpdir/tls-main1.o \
tmpdir/libtls-1a.so tmpdir/libtls-1b.so -Wl,-R,tmpdir" \
"" \
{ dummy.s } \
] \
[list \
"TLS without PLT (3)" \
- "-Wl,-z,now tmpdir/tls-main1.o \
+ "-Wl,--no-as-needed -Wl,-z,now tmpdir/tls-main1.o \
tmpdir/libtls-1a.so tmpdir/libtls-1bn.so -Wl,-R,tmpdir" \
"" \
{ dummy.s } \
] \
[list \
"TLS without PLT (3)" \
- "-Wl,-z,now tmpdir/tls-main1.o \
+ "-Wl,--no-as-needed -Wl,-z,now tmpdir/tls-main1.o \
tmpdir/libtls-1a.so tmpdir/libtls-1bn.so -Wl,-R,tmpdir" \
"" \
{ dummy.s } \