]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2015-02-13 Steve Ellcey <sellcey@imgtec.com>
authorSteve Ellcey <sellcey@mips.com>
Sat, 14 Feb 2015 01:38:06 +0000 (17:38 -0800)
committerSteve Ellcey <sellcey@mips.com>
Sat, 14 Feb 2015 01:38:06 +0000 (17:38 -0800)
* sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
* sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
* sysdeps/mips/memset.S (__MIPSEB): Ditto.

ChangeLog
sysdeps/mips/bits/endian.h
sysdeps/mips/memcpy.S
sysdeps/mips/memset.S

index 8da63e7e5496b36ff5932243038847531f2905ac..4da75ed8a54051738f0aa39c0bd1435d40fc7b1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
+       * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
+       * sysdeps/mips/memset.S (__MIPSEB): Ditto.
+
 2015-02-13  Roland McGrath  <roland@hack.frob.com>
 
        * sysdeps/generic/c++-types.data: New file.
index 9586104ccd78aca900b292c03b05d7e618820e26..43ce0098a4c1d0b2402c18fd7cf32b9f83f01274 100644 (file)
@@ -5,7 +5,7 @@
 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
 #endif
 
-#if __MIPSEB
+#ifdef __MIPSEB
 # define __BYTE_ORDER __BIG_ENDIAN
 #endif
 #if __MIPSEL
index fcd7c0368cf8c3cc16d909e5a2f85b6f8a14987f..715abcf1725bad0ac99769310efc98eff87c50d2 100644 (file)
 #ifdef USE_DOUBLE
 # define C_ST  sd
 # define C_LD  ld
-# if __MIPSEB
+# ifdef __MIPSEB
 #  define C_LDHI       ldl     /* high part is left in big-endian      */
 #  define C_STHI       sdl     /* high part is left in big-endian      */
 #  define C_LDLO       ldr     /* low part is right in big-endian      */
 #else
 # define C_ST  sw
 # define C_LD  lw
-# if __MIPSEB
+# ifdef __MIPSEB
 #  define C_LDHI       lwl     /* high part is left in big-endian      */
 #  define C_STHI       swl     /* high part is left in big-endian      */
 #  define C_LDLO       lwr     /* low part is right in big-endian      */
@@ -767,7 +767,7 @@ L(ua_smallCopy_loop):
 
 #else /* R6_CODE */
 
-# if __MIPSEB
+# ifdef __MIPSEB
 #  define SWAP_REGS(X,Y) X, Y
 #  define ALIGN_OFFSET(N) (N)
 # else
index 0a9b5cae469451e0c39bf9598ab3b54106c1f1fd..940a2258db8ae4b7af1be3c3a51fa0f036829600 100644 (file)
 
 #ifdef USE_DOUBLE
 # define C_ST  sd
-# if __MIPSEB
+# ifdef __MIPSEB
 #  define C_STHI       sdl     /* high part is left in big-endian      */
 # else
 #  define C_STHI       sdr     /* high part is right in little-endian  */
 # endif
 #else
 # define C_ST  sw
-# if __MIPSEB
+# ifdef __MIPSEB
 #  define C_STHI       swl     /* high part is left in big-endian      */
 # else
 #  define C_STHI       swr     /* high part is right in little-endian  */