mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
2015-02-18 Steve Ellcey <sellcey@imgtec.com>
* sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove. * sysdeps/mips/bits/endian.h: Fix comments.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-02-18 Steve Ellcey <sellcey@imgtec.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
|
||||||
|
* sysdeps/mips/bits/endian.h: Fix comments.
|
||||||
|
|
||||||
2015-02-18 Joseph Myers <joseph@codesourcery.com>
|
2015-02-18 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #17996]
|
[BZ #17996]
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* The MIPS architecture has selectable endianness.
|
/* The MIPS architecture has selectable endianness.
|
||||||
This file is for a machine using big-endian mode. */
|
It exists in both little and big endian flavours and we
|
||||||
|
want to be able to share the installed header files between
|
||||||
|
both, so we define __BYTE_ORDER based on GCC's predefines. */
|
||||||
|
|
||||||
#ifndef _ENDIAN_H
|
#ifndef _ENDIAN_H
|
||||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
/* The MIPS architecture has selectable endianness.
|
|
||||||
Linux/MIPS exists in two both little and big endian flavours and we
|
|
||||||
want to be able to share the installed headerfiles between both,
|
|
||||||
so we define __BYTE_ORDER based on GCC's predefines. */
|
|
||||||
|
|
||||||
#ifndef _ENDIAN_H
|
|
||||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __MIPSEB__
|
|
||||||
# define __BYTE_ORDER __BIG_ENDIAN
|
|
||||||
#else
|
|
||||||
# ifdef __MIPSEL__
|
|
||||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
||||||
# endif
|
|
||||||
#endif
|
|
Reference in New Issue
Block a user