summary refs log tree commit diff
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2012-06-15 21:19:12 +0200
committerAndreas Jaeger <aj@suse.de>2012-06-15 21:19:12 +0200
commit36d54b744e269291d766e581623b0e349e67d7f0 (patch)
tree0828186839fb3e9bc4e903d48a2baea230a30e8a
parent929cc14e20cf7666db1042bed47ba0b634b66546 (diff)
downloadglibc-36d54b744e269291d766e581623b0e349e67d7f0.tar.gz
glibc-36d54b744e269291d766e581623b0e349e67d7f0.tar.xz
glibc-36d54b744e269291d766e581623b0e349e67d7f0.zip
Make endian.h usable for assembler
-rw-r--r--ChangeLog5
-rw-r--r--string/endian.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f066a88491..dd8fcc4cfc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
+
+	* string/endian.h: Add !__ASSEMBLER__ condition for including
+	conversion interfaces.
+
 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #14241]
diff --git a/string/endian.h b/string/endian.h
index 0c293f6379..51084f1e9c 100644
--- a/string/endian.h
+++ b/string/endian.h
@@ -55,7 +55,7 @@
 #endif
 
 
-#ifdef __USE_BSD
+#if defined __USE_BSD && !defined __ASSEMBLER__
 /* Conversion interfaces.  */
 # include <bits/byteswap.h>