aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2023-09-04 08:33:27 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2023-09-11 21:47:28 +0000
commit7652c49af66de526522793b6614acde515f9e5af (patch)
tree4732b3dabc61469ff13021b101893084787fb65b /lib
parent9c6710cd2453b84b115bbdc029de74876fcf6b2f (diff)
downloadsrc-7652c49af66de526522793b6614acde515f9e5af.tar.gz
src-7652c49af66de526522793b6614acde515f9e5af.zip
Merge commit 4bb2416d42eb from llvm-project (by Jessica Clarke):
[builtins][AArch64] Implement _sync out-of-line atomics Whilst Clang does not use these, recent GCC does, and so on systems such as FreeBSD that wish to use compiler-rt as the system runtime library but also wish to support building programs with GCC these interfaces are needed. This is a light adaptation of the code committed to GCC by Sebastian Pop <spop@amazon.com>, relicensed with permission for use in compiler-rt. Fixes https://github.com/llvm/llvm-project/issues/63483 Reviewed By: sebpop, MaskRay Differential Revision: https://reviews.llvm.org/D158536 Reviewed by: dim MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D41716 (cherry picked from commit 8524dc53fd4c6b79d75b82cb82f3ac72fc25e85f)
Diffstat (limited to 'lib')
-rw-r--r--lib/libcompiler_rt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index 1ba94bc5eec8..f894d68e6478 100644
--- a/lib/libcompiler_rt/Makefile
+++ b/lib/libcompiler_rt/Makefile
@@ -22,7 +22,7 @@ MK_WERROR.gcc= no
.if ${MACHINE_CPUARCH} == "aarch64"
. for pat in cas swp ldadd ldclr ldeor ldset
. for size in 1 2 4 8 16
-. for model in 1 2 3 4
+. for model in 1 2 3 4 5
. if ${pat} == "cas" || ${size} != "16"
# Use .for to define lse_name, to get a special loop-local variable
. for lse_name in outline_atomic_${pat}${size}_${model}.S