There wasn't really a TLS standard on any 68K ABIs that I know about. If the 
SVR4 ABI for 68K defined one then that's probably the one I'd use for LLVM's 
default, as most everything else should follow the SVR4 ABI for 68K by default 
too, right?

That said, any compiler or linker for 68K needs to support multiple ABI 
standards since Mac OS, Atari, Amiga, and all the different UNIX and UNIX-like 
operating systems had their own ABI. Fortunately LLVM itself supports the 
concept of multiple ABIs…

  -- Chris

> On Jan 28, 2023, at 12:33 PM, John Paul Adrian Glaubitz 
> <glaub...@physik.fu-berlin.de> wrote:
> 
> Hello!
> 
> The maintainers of the m68k backend in LLVM have started initial planning for 
> adding
> TLS support. An issue for that has been opened in the LLVM Github tracker [1].
> 
> If anyone can help shed more light on how TLS works on m68k, please add your 
> comments
> to this Github issue. Any information on the topic is highly appreciated.
> 
> Thanks,
> Adrian
> 
>> [1] https://github.com/llvm/llvm-project/issues/60354
> 
> -- 
> .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer
> `. `'   Physicist
>  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to