[Bug target/125436] calls to __tls_get_addr in ms_abi with -fPIC function clobber callee-save resisters
puetzk at puetzk dot org
gcc-bugzilla@gcc.gnu.org
Mon May 25 07:33:39 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125436
--- Comment #10 from Kevin Puetz <puetzk at puetzk dot org> ---
Sorry forgot to past my results for the last example:
> ms_abi = 12345678 (wrong, `h` got clobbered by a nullptr from the DTV)
> sysv = 00000000 (correct)
> ms_abi = 00000000 (correct now that do the slow DTV update, since that's what clobbers si)
> ms_abi = 00000000
More information about the Gcc-bugs
mailing list