Uhg, what an awful GCC hack, and supposedly in MIT coursework:https://stackoverflow.com/q/47917027/379897 …
It's the abuse of asm names that allows for silent codegen breakage that I'm concerned about, not lack of "TLS ABI".
-
-
I would use an access function with inline asm and proper constraints to make it valid, roughly: void *gettp(void) { void *p; __asm__("mov %%gs:0, %0" : "=r"(p)); return p; }
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.