mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
tile: default to little-endian in bits/endian.h
This turns out to be helpful when doing a from-scratch cross-compile of
gcc and glibc, since you can then do "make install-headers" in glibc
even before you have a functioning tile gcc.
(cherry picked from commit ad36ba2bd6
)
This commit is contained in:
parent
201b499c97
commit
ca4023620a
@ -1,3 +1,7 @@
|
|||||||
|
2013-06-12 Chris Metcalf <cmetcalf@tilera.com>
|
||||||
|
|
||||||
|
* sysdeps/tile/bits/endian.h (__BYTE_ORDER): Default to little.
|
||||||
|
|
||||||
2013-05-23 Chris Metcalf <cmetcalf@tilera.com>
|
2013-05-23 Chris Metcalf <cmetcalf@tilera.com>
|
||||||
|
|
||||||
* sysdeps/tile/tilegx/Makefile ($(cflags-mcmodel-large)):
|
* sysdeps/tile/tilegx/Makefile ($(cflags-mcmodel-large)):
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
#if defined __BIG_ENDIAN__
|
#if defined __BIG_ENDIAN__
|
||||||
# define __BYTE_ORDER __BIG_ENDIAN
|
# define __BYTE_ORDER __BIG_ENDIAN
|
||||||
#elif defined __LITTLE_ENDIAN__
|
|
||||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
||||||
#else
|
#else
|
||||||
# error "Endianness not declared!!"
|
# define __BYTE_ORDER __LITTLE_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user