Files
semi-libc/src/thread
Alex Rønne PetersenandRich Felker 6af4f25b89 s390x: manually inline __tls_get_addr in __tls_get_offset
Calling __tls_get_addr with brasl is not valid since it's a global symbol; doing
so results in an R_390_PC32DBL relocation error from lld. We could fix this by
marking __tls_get_addr hidden since it is not part of the s390x ABI, or by using
a different instruction. However, given its simplicity, it makes more sense to
just manually inline it into __tls_get_offset for performance.

The patch has been tested by applying to Zig's bundled musl copy and running the
full Zig test suite under qemu-s390x.
2025-02-09 09:46:53 -05:00
..
2020-08-30 21:37:12 -04:00
2018-09-12 14:34:31 -04:00
2018-09-12 14:34:31 -04:00
2018-09-12 14:34:31 -04:00
2018-09-12 14:34:31 -04:00
2024-02-29 16:36:55 -05:00
2019-06-14 17:13:05 -04:00
2014-09-06 22:07:22 -04:00
2014-09-06 22:07:22 -04:00
2014-09-06 22:07:22 -04:00
2018-09-12 14:34:36 -04:00
2011-03-04 00:45:59 -05:00
2011-03-04 00:45:59 -05:00
2011-03-04 00:45:59 -05:00
2011-04-17 11:43:03 -04:00