about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-03-28 16:39:25 +0200
committerAndreas Jaeger <aj@suse.de>2012-04-03 09:13:59 +0200
commitb1aa60f32d34030b28bca04aeee084cd3bedecfa (patch)
tree430b4c30f7a613b4b219528ec861de1b2c5b1172 /ChangeLog
parent39c59c35723120c32dc42dde4115bba92305179f (diff)
downloadglibc-b1aa60f32d34030b28bca04aeee084cd3bedecfa.tar.gz
glibc-b1aa60f32d34030b28bca04aeee084cd3bedecfa.tar.xz
glibc-b1aa60f32d34030b28bca04aeee084cd3bedecfa.zip
Add __bswap_64 definition for non GCC compilers.
[BZ#13926]
Currently __bswap_64 is not defined at all for non-GCC compilers.
Define it but guard it with __GLIBC_HAVE_LONG_LONG.

endian.h uses __bswap_64, make the functions only available
if __GLIBC_HAVE_LONG_LONG is defined.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 09f040e632..70e2633b82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2012-04-03  Andreas Jaeger  <aj@suse.de>
+
+	[BZ #13926]
+	* sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
+	New macro for this case.
+	[!__GNUC__] (__bswap_64): New inline function for this case.
+	* sysdeps/x86_64/bits/byteswap.h: Likewise.
+	* bits/byteswap.h: Likewise.
+	* sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
+	ull, guard with __GLIBC_HAVE_LONG_LONG.
+
+	* string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
+	__GLIBC_HAVE_LONG_LONG.
+
+	* string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
+	Include <features.h> for __GLIBC_HAVE_LONG_LONG.
+
 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
 
 	[BZ #13691]