Replace uses of endbr64 with _CET_ENDBR from cet.h
authortb <tb@openbsd.org>
Sat, 24 Feb 2024 15:30:14 +0000 (15:30 +0000)
committertb <tb@openbsd.org>
Sat, 24 Feb 2024 15:30:14 +0000 (15:30 +0000)
commit22787c513b4b59ee1fb13a32326a50f73cd342c1
tree8253a67ff0ad8998983fad09a5cb2ef87c417d92
parent81fa3e72ea1cd2761bc813d536bd3ccb190c5c6c
Replace uses of endbr64 with _CET_ENDBR from cet.h

cet.h is needed for other platforms to emit the relevant .gnu.properties
sections that are necessary for them to enable IBT. It also avoids issues
with older toolchains on macOS that explode on encountering endbr64.

based on a diff by kettenis
ok beck kettenis
30 files changed:
lib/libcrypto/aes/asm/aes-x86_64.pl
lib/libcrypto/aes/asm/aesni-sha1-x86_64.pl
lib/libcrypto/aes/asm/aesni-x86_64.pl
lib/libcrypto/aes/asm/bsaes-x86_64.pl
lib/libcrypto/aes/asm/vpaes-x86_64.pl
lib/libcrypto/bn/arch/amd64/bignum_add.S
lib/libcrypto/bn/arch/amd64/bignum_cmadd.S
lib/libcrypto/bn/arch/amd64/bignum_cmul.S
lib/libcrypto/bn/arch/amd64/bignum_mul.S
lib/libcrypto/bn/arch/amd64/bignum_mul_4_8_alt.S
lib/libcrypto/bn/arch/amd64/bignum_mul_8_16_alt.S
lib/libcrypto/bn/arch/amd64/bignum_sqr.S
lib/libcrypto/bn/arch/amd64/bignum_sqr_4_8_alt.S
lib/libcrypto/bn/arch/amd64/bignum_sqr_8_16_alt.S
lib/libcrypto/bn/arch/amd64/bignum_sub.S
lib/libcrypto/bn/arch/amd64/word_clz.S
lib/libcrypto/bn/asm/modexp512-x86_64.pl
lib/libcrypto/bn/asm/x86_64-mont.pl
lib/libcrypto/bn/asm/x86_64-mont5.pl
lib/libcrypto/bn/s2n_bignum_internal.h
lib/libcrypto/camellia/asm/cmll-x86_64.pl
lib/libcrypto/md5/asm/md5-x86_64.pl
lib/libcrypto/modes/asm/ghash-x86_64.pl
lib/libcrypto/perlasm/x86_64-xlate.pl
lib/libcrypto/rc4/asm/rc4-md5-x86_64.pl
lib/libcrypto/rc4/asm/rc4-x86_64.pl
lib/libcrypto/sha/asm/sha1-x86_64.pl
lib/libcrypto/sha/asm/sha512-x86_64.pl
lib/libcrypto/whrlpool/asm/wp-x86_64.pl
lib/libcrypto/x86_64cpuid.pl