musl/ldso
Rich Felker e17b9d7474 ldso: fix TLSDESC addend processing on archs with backwards descriptors
presently this only affects 32-bit arm. despite correctly reversing
the function pointer and argument fields based on the
TLSDESC_BACKWARDS macro, we did not read the addend from the
swapped-order argument field, so nonzero addends were lost, producing
wrong runtime addresses for TLS objects needing an addend.

based on report and patch by Rui Ueyama.
2023-11-06 21:50:37 -05:00
..
dlstart.c process DT_RELR relocations in ldso-startup/static-pie 2022-09-12 08:30:36 -04:00
dynlink.c ldso: fix TLSDESC addend processing on archs with backwards descriptors 2023-11-06 21:50:37 -05:00