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.20-288-g66cadc0


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  66cadc058dd7ce8106624df5732ea69a484621b9 (commit)
      from  0f0a1c82f5d8e7b8d24f9eddc2b7728abd3d5bc4 (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=66cadc058dd7ce8106624df5732ea69a484621b9

commit 66cadc058dd7ce8106624df5732ea69a484621b9
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Dec 2 21:29:54 2014 +0000

    Fix elf/tst-unique4lib.cc warning.
    
    This patch fixes a warning "tst-unique4lib.cc:17:12: warning: 'b'
    defined but not used [-Wunused-variable]".  I'm not sure exactly what
    aspects of the test are or are not significant for the issue it is
    testing for; the patch makes the minimal change of marking the
    variable with __attribute__ ((used)).
    
    Tested for x86_64.
    
    	* elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).

diff --git a/ChangeLog b/ChangeLog
index 35535eb..8e61f35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-02  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
+
 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
diff --git a/elf/tst-unique4lib.cc b/elf/tst-unique4lib.cc
index c9fdf9c..20a10e9 100644
--- a/elf/tst-unique4lib.cc
+++ b/elf/tst-unique4lib.cc
@@ -14,4 +14,4 @@ static int a[24] =
     S<23>::i, S<24>::i
   };
 
-static int b = S<1>::j;
+static int b __attribute__ ((used)) = S<1>::j;

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

Summary of changes:
 ChangeLog             |    4 ++++
 elf/tst-unique4lib.cc |    2 +-
 2 files changed, 5 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]