@ammarfaizi2@social.gnuweeb.org
Post #3934236
2026-07-19 12:38 UTC
@viro_ssfs
You can workaround this bug using `-mtls-dialect=gnu2`. A GCC developer, H.J. Lu, told me.
https://godbolt.org/z/69ExKbcGe
Replies (2)
-
@ammarfaizi2@social.gnuweeb.org 2026-07-19 12:39
@viro_ssfs Note: "call *b1.0@TLSCALL(%rax)" is special. It doesn't clobber GPRs nor vector registers at runtime. https://www.fsfla.org/~lxoliva/writeups/TLS/RFC-TLSDESC-x86.txt
-
@ammarfaizi2@social.gnuweeb.org 2026-07-19 12:40
@viro_ssfs Note: "call *b1.0@TLSCALL(%rax)" is special. It doesn't clobber GPRs nor vector registers at runtime. https://www.fsfla.org/~lxoliva/writeups/TLS/RFC-TLSDESC-x86.txt