zfs/module/icp/asm-x86_64/modes
Alexander Lobakin 61cca6fa05 icp: fix rodata being marked as text in x86 Asm code
objtool properly complains that it can't decode some of the
instructions from ICP x86 Asm code. As mentioned in the Makefile,
where those object files were excluded from objtool check (but they
can still be visible under IBT and LTO), those are just constants,
not code.
In that case, they must be placed in .rodata, so they won't be
marked as "allocatable, executable" (ax) in EFL headers and this
effectively prevents objtool from trying to decode this data. That
reveals a whole bunch of other issues in ICP Asm code, as previously
objtool was bailing out after that warning message.

Reviewed-by: Attila Fülöp <attila@fueloep.org>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Closes #14035
2022-11-04 11:25:51 -07:00
..
THIRDPARTYLICENSE.cryptogams ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.cryptogams.descrip ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.openssl ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.openssl.descrip ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
aesni-gcm-x86_64.S icp: fix rodata being marked as text in x86 Asm code 2022-11-04 11:25:51 -07:00
gcm_pclmulqdq.S Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
ghash-x86_64.S icp: fix rodata being marked as text in x86 Asm code 2022-11-04 11:25:51 -07:00