diff options
author | Steve Ellcey <sellcey@mips.com> | 2015-02-13 17:38:06 -0800 |
---|---|---|
committer | Steve Ellcey <sellcey@mips.com> | 2015-02-13 17:38:06 -0800 |
commit | e525154e84b6e9effadfbb5f162785e3aff24eb3 (patch) | |
tree | 3d62e74b142fbee7660804d0df9537f97aee1352 /sysdeps/mips/memcpy.S | |
parent | 4ab770b7b15c45621e6274c790351a3a4744dc42 (diff) | |
download | glibc-e525154e84b6e9effadfbb5f162785e3aff24eb3.tar glibc-e525154e84b6e9effadfbb5f162785e3aff24eb3.tar.gz glibc-e525154e84b6e9effadfbb5f162785e3aff24eb3.tar.bz2 glibc-e525154e84b6e9effadfbb5f162785e3aff24eb3.zip |
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.
Diffstat (limited to 'sysdeps/mips/memcpy.S')
-rw-r--r-- | sysdeps/mips/memcpy.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mips/memcpy.S b/sysdeps/mips/memcpy.S index fcd7c0368c..715abcf172 100644 --- a/sysdeps/mips/memcpy.S +++ b/sysdeps/mips/memcpy.S @@ -225,7 +225,7 @@ #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 */ @@ -240,7 +240,7 @@ #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 |