x86-64: Skip GNU2 TLS tests only without compiler support
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Jan 2020 14:22:41 +0000 (06:22 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Jan 2020 14:22:41 +0000 (06:22 -0800)
commit6a462ad49ec13bec4659f2a8fb2301cac9742da9
tree29a667c1f102668e994174ee17108250196dc20b
parenta804e4760a9f05aeb61071f8caad3579e6a197a2
x86-64: Skip GNU2 TLS tests only without compiler support

After fixing:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93319
https://sourceware.org/bugzilla/show_bug.cgi?id=25416

-mtls-dialect=gnu2 is working for x32 with GCC 10.  Skip GNU2 TLS tests
only if compiler doesn't support it.

PR ld/25416
* testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
compiler support.
ld/ChangeLog
ld/testsuite/ld-x86-64/tls.exp