From: Bruno Haible Date: Fri, 23 Aug 2024 17:01:55 +0000 (+0200) Subject: host-cpu-c-abi: Update comment, working around FreeBSD breakage. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=38b5fabdfcf0ddd516fdd9105ccb1b2ac38cb62c;p=gnulib.git host-cpu-c-abi: Update comment, working around FreeBSD breakage. * m4/host-cpu-c-abi.m4: For powerpc64, recommend to test __BIG_ENDIAN__ or __LITTLE_ENDIAN__, not _BIG_ENDIAN or _LITTLE_ENDIAN, as FreeBSD 14 breaks the latter. --- diff --git a/ChangeLog b/ChangeLog index 0bf44b8e45..5e0e0c013a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-08-23 Bruno Haible + + host-cpu-c-abi: Update comment, working around FreeBSD breakage. + * m4/host-cpu-c-abi.m4: For powerpc64, recommend to test + __BIG_ENDIAN__ or __LITTLE_ENDIAN__, not _BIG_ENDIAN or _LITTLE_ENDIAN, + as FreeBSD 14 breaks the latter. + 2024-08-21 Paul Eggert mcel: port to uClibc-ng diff --git a/m4/host-cpu-c-abi.m4 b/m4/host-cpu-c-abi.m4 index 6053930288..80a8366855 100644 --- a/m4/host-cpu-c-abi.m4 +++ b/m4/host-cpu-c-abi.m4 @@ -1,5 +1,5 @@ # host-cpu-c-abi.m4 -# serial 17 +# serial 18 dnl Copyright (C) 2002-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -36,7 +36,7 @@ dnl * The same canonical name is used for different endiannesses. You can dnl determine the endianness through preprocessor symbols: dnl - 'arm': test __ARMEL__. dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL. -dnl - 'powerpc64': test _BIG_ENDIAN vs. _LITTLE_ENDIAN. +dnl - 'powerpc64': test __BIG_ENDIAN__ vs. __LITTLE_ENDIAN__. dnl * The same name 'i386' is used for CPUs of type i386, i486, i586 dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because dnl - Instructions that do not exist on all of these CPUs (cmpxchg,