[PATCH, testsuite, committed] Fix test for odd-TLS targets
Maxim Kuvyrkov
maxim@codesourcery.com
Thu Apr 7 14:52:00 GMT 2011
The attached patch fixes gcc.dg/lto/20090210_0.c link test for targets that require C library support for TLS, e.g., m68k [*]. The patch changes the condition on the test from requiring theoretical TLS support, to requiring the toolchain to be able to link a program which uses TLS.
[*] M68k TLS ABI defines __m68k_read_tp() function to access thread-local storage, and to my knowledge, only GLIBC implements this, which makes the test fail on m68k-uclinux.
Thanks,
--
Maxim Kuvyrkov
Mentor Graphics / CodeSourcery
+7-812-677-6839
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsf-gcc-odd-tls-fix.ChangeLog
Type: application/octet-stream
Size: 110 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110407/8d16ff77/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsf-gcc-odd-tls-fix.patch
Type: application/octet-stream
Size: 544 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110407/8d16ff77/attachment-0001.obj>
More information about the Gcc-patches
mailing list