This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.21-77-ge525154


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e525154e84b6e9effadfbb5f162785e3aff24eb3 (commit)
      from  4ab770b7b15c45621e6274c790351a3a4744dc42 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e525154e84b6e9effadfbb5f162785e3aff24eb3

commit e525154e84b6e9effadfbb5f162785e3aff24eb3
Author: Steve Ellcey <sellcey@mips.com>
Date:   Fri Feb 13 17:38:06 2015 -0800

    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.

diff --git a/ChangeLog b/ChangeLog
index 8da63e7..4da75ed 100644
--- 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.
diff --git a/sysdeps/mips/bits/endian.h b/sysdeps/mips/bits/endian.h
index 9586104..43ce009 100644
--- a/sysdeps/mips/bits/endian.h
+++ b/sysdeps/mips/bits/endian.h
@@ -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
diff --git a/sysdeps/mips/memcpy.S b/sysdeps/mips/memcpy.S
index fcd7c03..715abcf 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
diff --git a/sysdeps/mips/memset.S b/sysdeps/mips/memset.S
index 0a9b5ca..940a225 100644
--- a/sysdeps/mips/memset.S
+++ b/sysdeps/mips/memset.S
@@ -170,14 +170,14 @@
 
 #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	*/

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    6 ++++++
 sysdeps/mips/bits/endian.h |    2 +-
 sysdeps/mips/memcpy.S      |    6 +++---
 sysdeps/mips/memset.S      |    4 ++--
 4 files changed, 12 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]