aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/string_conversion.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-06-27 17:05:23 +0300
committerJia Tan <jiat0218@gmail.com>2023-06-27 23:55:59 +0800
commitee44863ae88e377a5df10db007ba9bfadde3d314 (patch)
treec3f534ebce92e9d561c51c1aa40c2254fdc7d18b /src/liblzma/common/string_conversion.c
parentAdd ifunc check to CMakeLists.txt (diff)
downloadxz-ee44863ae88e377a5df10db007ba9bfadde3d314.tar.xz
liblzma: Add ifunc implementation to crc64_fast.c.
The ifunc method avoids indirection via the function pointer crc64_func. This works on GNU/Linux and probably on FreeBSD too. The previous __attribute((__constructor__)) method is kept for compatibility with ELF platforms which do support ifunc. The ifunc method has some limitations, for example, building liblzma with -fsanitize=address will result in segfaults. The configure option --disable-ifunc must be used for such builds. Thanks to Hans Jansen for the original patch. Closes: https://github.com/tukaani-project/xz/pull/53
Diffstat (limited to 'src/liblzma/common/string_conversion.c')
0 files changed, 0 insertions, 0 deletions