aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2021-07-28 20:30:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2021-07-28 20:30:04 +0000
commitcc55ee8009a550810d38777fd6ace9abf3a2f6b4 (patch)
tree501aacba8e8ba5e80bcbb994322811c237960fff /sys/sys
parent441d15a4825c44bfea70e6e2b8317f2691dbf1c6 (diff)
downloadsrc-cc55ee8009a550810d38777fd6ace9abf3a2f6b4.tar.gz
src-cc55ee8009a550810d38777fd6ace9abf3a2f6b4.zip
compilert-rt: build out-of-line LSE atomics helpers for aarch64
Both clang >= 12 and gcc >= 10.1 now default to -moutline-atomics for aarch64. This requires a bunch of helper functions in libcompiler_rt.a, to avoid link errors like "undefined symbol: __aarch64_ldadd8_acq_rel". (Note: of course you can use -mno-outline-atomics as a workaround too, but this would negate the potential performance benefit of the faster LSE instructions.) Bump __FreeBSD_version so ports maintainers can easily detect this. PR: 257392 MFC after: 2 weeks
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index f1dc6dd2fcd6..11d89ea08bba 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -76,7 +76,7 @@
* cannot include sys/param.h and should only be updated here.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1400026
+#define __FreeBSD_version 1400027
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,