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-80-g86c56b1


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  86c56b164ced14cadd054a37613fbddf896194da (commit)
      from  35264d14426e1e3ca7b595db1de76208374b56e3 (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=86c56b164ced14cadd054a37613fbddf896194da

commit 86c56b164ced14cadd054a37613fbddf896194da
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Feb 16 22:12:15 2015 +0000

    Fix MIPS __mips_isa_rev -Werror=undef build.
    
    I see an error
    
    In file included from ../sysdeps/mips/include/sys/asm.h:20:0,
                     from ../sysdeps/mips/start.S:39:
    ../sysdeps/mips/sys/asm.h:421:5: error: "__mips_isa_rev" is not defined [-Werror=undef]
     #if __mips_isa_rev < 6
         ^
    cc1: some warnings being treated as errors
    
    in MIPS builds.  As sys/asm.h is an installed header, it seems better
    to test for !defined __mips_isa_rev here, instead of defining it to 0
    as done in sysdeps/unix/mips/sysdep.h, to avoid perturbing any code
    outside glibc that tests whether __mips_isa_rev is defined; this patch
    does so.
    
    	* sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
    	[!defined __mips_isa_rev || __mips_isa_rev < 6].

diff --git a/ChangeLog b/ChangeLog
index 78fe389..d4a72d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-16  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
+	[!defined __mips_isa_rev || __mips_isa_rev < 6].
+
 2015-02-16  Torvald Riegel  <triegel@redhat.com>
 
 	* nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
diff --git a/sysdeps/mips/sys/asm.h b/sysdeps/mips/sys/asm.h
index 6c94cee..0ff8802 100644
--- a/sysdeps/mips/sys/asm.h
+++ b/sysdeps/mips/sys/asm.h
@@ -418,7 +418,7 @@ symbol		=	value
 # define PTR_ADDI	addi
 # define PTR_SUB	sub
 # define PTR_SUBI	subi
-#if __mips_isa_rev < 6
+#if !defined __mips_isa_rev || __mips_isa_rev < 6
 # define PTR_ADDU	add /* no u */
 # define PTR_ADDIU	addi /* no u */
 # define PTR_SUBU	sub /* no u */

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

Summary of changes:
 ChangeLog              |    5 +++++
 sysdeps/mips/sys/asm.h |    2 +-
 2 files changed, 6 insertions(+), 1 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]