Use the same bits/endian.h for i386/x86_64

This commit is contained in:
H.J. Lu 2012-05-30 14:50:32 -07:00
parent 13764867fe
commit f726f0bb75
3 changed files with 5 additions and 8 deletions

View File

@ -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 ...

View File

@ -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."

View File

@ -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