[PATCH][M68K] Binutils support for TLS
Maxim Kuvyrkov
maxim@codesourcery.com
Sat Jan 24 16:55:00 GMT 2009
Hello,
The attached patch adds TLS support for M68K/ColdFire.
Support for TLS relocations is closely related to handling of GOT and
its relocations, so most of the patch is dedicated to partial rewrite of
multi-GOT support.
This work is well tested taking into consideration lack of linux kernel
support; it does not cause any regressions in code that doesn't use TLS
relocations. Also, for what it worth, this patch can handle
cross-compilation of GCC and GLIBC [provided that GCC and GLIBC have
corresponding TLS/NPTL patches applied].
For background reading on TLS/NPTL ABI for m68k and ColdFire see
http://lists.debian.org/debian-68k/2007/11/msg00071.html .
GCC TLS and GLIBC NPTL ports will follow shortly.
I'd like to thank my colleagues at CodeSourcery, especially Daniel
Jacobowitz and Joseph Myers, for helping me with the entire
M68K/ColdFire TLS/NPTL port.
OK for HEAD?
Thanks,
--
Maxim K.
CodeSourcery
PS. The patch also has a completely irrelevant one-line fix for the
linker testsuite test 'merge isa-a isa-a:no-div"; see hunk for m68k.exp.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fsf-nptl-binutils.ChangeLog
URL: <https://sourceware.org/pipermail/binutils/attachments/20090124/68cd71e4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fsf-nptl-binutils.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090124/68cd71e4/attachment-0001.ksh>
More information about the Binutils
mailing list