diff options
author | tb <> | 2024-02-24 15:30:14 +0000 |
---|---|---|
committer | tb <> | 2024-02-24 15:30:14 +0000 |
commit | c730c3b3b1845cc7c4a4aceff2031f1135faa6bb (patch) | |
tree | 162dfb371639bf1514d472f64e2a4d1279851907 /src/lib/libcrypto/md5 | |
parent | 1fc6cbdf068b16378dacfb22c3ce1e29313ee314 (diff) | |
download | openbsd-c730c3b3b1845cc7c4a4aceff2031f1135faa6bb.tar.gz openbsd-c730c3b3b1845cc7c4a4aceff2031f1135faa6bb.tar.bz2 openbsd-c730c3b3b1845cc7c4a4aceff2031f1135faa6bb.zip |
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
Diffstat (limited to 'src/lib/libcrypto/md5')
-rwxr-xr-x | src/lib/libcrypto/md5/asm/md5-x86_64.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/md5/asm/md5-x86_64.pl b/src/lib/libcrypto/md5/asm/md5-x86_64.pl index 06d69094f4..5001c34724 100755 --- a/src/lib/libcrypto/md5/asm/md5-x86_64.pl +++ b/src/lib/libcrypto/md5/asm/md5-x86_64.pl | |||
@@ -128,7 +128,7 @@ $code .= <<EOF; | |||
128 | .globl md5_block_asm_data_order | 128 | .globl md5_block_asm_data_order |
129 | .type md5_block_asm_data_order,\@function,3 | 129 | .type md5_block_asm_data_order,\@function,3 |
130 | md5_block_asm_data_order: | 130 | md5_block_asm_data_order: |
131 | endbr64 | 131 | _CET_ENDBR |
132 | push %rbp | 132 | push %rbp |
133 | push %rbx | 133 | push %rbx |
134 | push %r12 | 134 | push %r12 |