aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-04-06 16:13:40 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-04-06 16:13:40 -0700
commit9904dc47c88d9592ec66e5990754369bfde84c02 (patch)
tree2ec3f8eb2aebd6b23b5f24c4ddb12bde60108f17 /ChangeLog
parentf8887d0a5feda97244613135822b0439addc2b1f (diff)
downloadglibc-9904dc47c88d9592ec66e5990754369bfde84c02.tar
glibc-9904dc47c88d9592ec66e5990754369bfde84c02.tar.gz
glibc-9904dc47c88d9592ec66e5990754369bfde84c02.tar.bz2
glibc-9904dc47c88d9592ec66e5990754369bfde84c02.zip
Use __builtin_bswap32/64 in __bswap_32/64 for GCC >= 4.2
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 91e836149c..dc8ed080f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
+ * bits/byteswap.h: Include <features.h>.
+ (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
+ (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
+
+2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
+
* bits/byteswap.h (__bswap_16): Removed.
Include <bits/byteswap-16.h> to get __bswap_16.
* sysdeps/i386/bits/byteswap.h: Likewise.