summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2015-02-18 10:51:37 -0800
committerSteve Ellcey <sellcey@mips.com>2015-02-18 10:51:37 -0800
commit9ee16d8b34d3ee8bdb78231a3c749cd39b1235ac (patch)
treec4b266e0a5d2e4249dddd02348e798918af52ae8
parent4ffb1771554dd4661beb44be2036c598aa56c80a (diff)
downloadglibc-9ee16d8b34d3ee8bdb78231a3c749cd39b1235ac.tar.gz
2015-02-18 Steve Ellcey <sellcey@imgtec.com>
* sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove. * sysdeps/mips/bits/endian.h: Fix comments.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/mips/bits/endian.h4
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/endian.h16
3 files changed, 8 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 6589167275..0df762d3e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
[BZ #17996]
diff --git a/sysdeps/mips/bits/endian.h b/sysdeps/mips/bits/endian.h
index 92e97c708f..126059799d 100644
--- a/sysdeps/mips/bits/endian.h
+++ b/sysdeps/mips/bits/endian.h
@@ -1,5 +1,7 @@
/* 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
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
diff --git a/sysdeps/unix/sysv/linux/mips/bits/endian.h b/sysdeps/unix/sysv/linux/mips/bits/endian.h
deleted file mode 100644
index 0a3d2fabe3..0000000000
--- a/sysdeps/unix/sysv/linux/mips/bits/endian.h
+++ /dev/null
@@ -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