diff options
author | Stefan Eßer <se@FreeBSD.org> | 2022-01-14 19:47:11 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2022-01-14 19:47:11 +0000 |
commit | 35a26791f4ad6862e30710e1054d8b365a776c4a (patch) | |
tree | 8fd291bf427d4f7535da60fd8db48cf23d2348f6 /CHANGES | |
parent | 61dc21a3030c154c0723a3ec27a172193fb6e890 (diff) | |
download | ports-35a26791f4ad6862e30710e1054d8b365a776c4a.tar.gz ports-35a26791f4ad6862e30710e1054d8b365a776c4a.zip |
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
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |