diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-30 14:50:32 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-30 14:50:32 -0700 |
commit | f726f0bb75f930c46bbd3b2ce81c29fa28c6292b (patch) | |
tree | de113f771489ceb830b476f17e7eaa00b30a8fff | |
parent | 13764867feabae242e5a21d4ceee38d3648d1b62 (diff) | |
download | glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.tar.gz glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.tar.xz glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.zip |
Use the same bits/endian.h for i386/x86_64
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/x86/bits/endian.h (renamed from sysdeps/i386/bits/endian.h) | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/bits/endian.h | 7 |
3 files changed, 5 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog index 5b1346e188..2f9d7a5f48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ 2012-05-30 H.J. Lu <hongjiu.lu@intel.com> [BZ #14117] + * sysdeps/i386/bits/endian.h: Removed. + * sysdeps/x86_64/bits/endian.h: Renamed to ... + * sysdeps/x86/bits/endian.h: This. + * sysdeps/i386/bits/byteswap.h: Removed. * sysdeps/i386/bits/byteswap-16.h: Likewise. * sysdeps/x86_64/bits/byteswap.h: Renamed to ... diff --git a/sysdeps/i386/bits/endian.h b/sysdeps/x86/bits/endian.h index 54bd9d14bb..5a56c726f7 100644 --- a/sysdeps/i386/bits/endian.h +++ b/sysdeps/x86/bits/endian.h @@ -1,4 +1,4 @@ -/* i386 is little-endian. */ +/* i386/x86_64 are little-endian. */ #ifndef _ENDIAN_H # error "Never use <bits/endian.h> directly; include <endian.h> instead." diff --git a/sysdeps/x86_64/bits/endian.h b/sysdeps/x86_64/bits/endian.h deleted file mode 100644 index 2f59eada25..0000000000 --- a/sysdeps/x86_64/bits/endian.h +++ /dev/null @@ -1,7 +0,0 @@ -/* x86_64 is little-endian. */ - -#ifndef _ENDIAN_H -# error "Never use <bits/endian.h> directly; include <endian.h> instead." -#endif - -#define __BYTE_ORDER __LITTLE_ENDIAN |