aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2024-03-26 00:38:32 +0000
committerViktor Szakats <commit@vsz.me>2024-03-26 00:49:43 +0000
commit8cddaf034550bfea6e7d9ec57af1af822eb33053 (patch)
tree31fb51475ce14454a4d4f132bdd805cef12ab533 /.github
parent577970ab842f7e352048d45fe930ddd21f4190f3 (diff)
downloadportable-8cddaf034550bfea6e7d9ec57af1af822eb33053.tar.gz
portable-8cddaf034550bfea6e7d9ec57af1af822eb33053.tar.bz2
portable-8cddaf034550bfea6e7d9ec57af1af822eb33053.zip
mingw: re-enable endbr opcode, add workaround for clang `cet.h` issue
- https://github.com/libressl/openbsd/pull/149 fixes to crash on startup issue, thus nuking all endbr opcodes is no longer necessary. This effectively enables CET in ASM code for MinGW x86_64 builds. - llvm `cet.h` (as of v18) assigns `endbr32` instead of `endbr64` to `_CET_ENDBR` macro for MinGW x86_64 targets. https://github.com/llvm/llvm-project/blob/llvmorg-18.1.1/clang/lib/Headers/cet.h#L15-L35 Work this around by mapping `endbr32` to `endbr64`. Prerequisite: https://github.com/libressl/openbsd/pull/149 Fixes: https://github.com/libressl/portable/issues/1015
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions