]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2015-02-18 Steve Ellcey <sellcey@imgtec.com>
authorSteve Ellcey <sellcey@mips.com>
Wed, 18 Feb 2015 18:51:37 +0000 (10:51 -0800)
committerSteve Ellcey <sellcey@mips.com>
Wed, 18 Feb 2015 18:51:37 +0000 (10:51 -0800)
* sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
* sysdeps/mips/bits/endian.h: Fix comments.

ChangeLog
sysdeps/mips/bits/endian.h
sysdeps/unix/sysv/linux/mips/bits/endian.h [deleted file]

index 6589167275097a4620ed9c76d349be4d4f8e280b..0df762d3e8f83459f9bf42a2e984f2060696c972 100644 (file)
--- 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]
index 92e97c708ff78ee7793e0e46f98fa9daaa696213..126059799d781066c15c968a651179056861aa59 100644 (file)
@@ -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 (file)
index 0a3d2fa..0000000
+++ /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