]> Savannah Git Hosting - gnulib.git/commitdiff
host-cpu-c-abi: Update comment, working around FreeBSD breakage.
authorBruno Haible <bruno@clisp.org>
Fri, 23 Aug 2024 17:01:55 +0000 (19:01 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 23 Aug 2024 17:01:55 +0000 (19:01 +0200)
* 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.

ChangeLog
m4/host-cpu-c-abi.m4

index 0bf44b8e459dc457c598c4f4fcc54113583b7d4e..5e0e0c013a4a4bf8758cf6826deecedd022ba0db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-08-23  Bruno Haible  <bruno@clisp.org>
+
+       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  <eggert@cs.ucla.edu>
 
        mcel: port to uClibc-ng
index 60539302885017e9dfc6e614136bf6cfc7875616..80a8366855327ba70f279c6030a49e3a41b54f98 100644 (file)
@@ -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,