aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-01-14 19:47:11 +0000
committerStefan Eßer <se@FreeBSD.org>2022-01-14 19:47:11 +0000
commit35a26791f4ad6862e30710e1054d8b365a776c4a (patch)
tree8fd291bf427d4f7535da60fd8db48cf23d2348f6
parent61dc21a3030c154c0723a3ec27a172193fb6e890 (diff)
CHANGES: CPU_AND, CPU_OR, CPU_XOR parameters changed
The CPU_AND, CPU_ANDNOT, CPU_OR, and CPU_XOR macros have been modified to support programs that have been written for GLIBC. Describe the changes required to have ports support both the previous FreeBSD conventions and the new GLIBC compatible parameter list. MFH: 2022Q1
-rw-r--r--CHANGES15
1 files changed, 15 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index e1136763ed79..06d80ace394d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,21 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
+20220111:
+AUTHOR: se@FreeBSD.org
+
+ The CPU_AND, CPU_ANDNOT, CPU_OR, and CPU_XOR macros in 14-CURRENT
+ and 13-STABLE after this date have been made compatible with GLIBC
+ conventions. Specifically, they now take 3 arguments instead of 2.
+ Ports can check whether the CPU_ALLOC macro is defined and then
+ use the 3 parameter form, e.g.:
+
+ #ifdef CPU_ALLOC
+ CPU_AND(dst, dst, src);
+ #else
+ CPU_AND(dst, src);
+ #endif
+
20211211:
AUTHOR: tcberner@FreeBSD.org