mirror of https://git.tukaani.org/xz.git
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 |
||
---|---|---|
.. | ||
Makefile.inc | ||
check.c | ||
check.h | ||
crc32_fast.c | ||
crc32_small.c | ||
crc32_table.c | ||
crc32_table_be.h | ||
crc32_table_le.h | ||
crc32_tablegen.c | ||
crc32_x86.S | ||
crc64_fast.c | ||
crc64_small.c | ||
crc64_table.c | ||
crc64_table_be.h | ||
crc64_table_le.h | ||
crc64_tablegen.c | ||
crc64_x86.S | ||
crc_macros.h | ||
sha256.c |