The TLS patch has been applied to mainline GCC. This also makes it easier for other OSes to use non-standard segment registers for TLS.
I also have another bug in GCC with medium memory model where constants that end up in large sections cause fixup-errors when linkning, but I think that can wait until I have finalized the libgcc part and got it commited.
Building 64-bit GCC target for RDOS
Re: Building 64-bit GCC target for RDOS
Seems like I did a lot of the hard work on this in 2012, but I'm still unsure if all the patches have been applied and if I actually can build a 64-bit RDOS compiler with the current sources?
