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.16-ports-merge-720-gc9c253d


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  c9c253d3729d24bff73ba4094bff386ec54a8cf1 (commit)
      from  986cab95e068f79e752fc11e981de8e472c23961 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c9c253d3729d24bff73ba4094bff386ec54a8cf1

commit c9c253d3729d24bff73ba4094bff386ec54a8cf1
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 20 00:00:35 2012 +0000

    Fix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.

diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 92b3e2f..7472aa3 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,5 +1,8 @@
 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION
+	variable with __attribute__ ((unused)).
+
 	* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
 	(INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
 	(INTERNAL_SYSCALL_ERROR_P): Cast val to void.
diff --git a/ports/sysdeps/mips/dl-machine.h b/ports/sysdeps/mips/dl-machine.h
index cc7da76..9b970a2 100644
--- a/ports/sysdeps/mips/dl-machine.h
+++ b/ports/sysdeps/mips/dl-machine.h
@@ -637,7 +637,7 @@ elf_machine_got_rel (struct link_map *map, int lazy)
 #define RESOLVE_GOTSYM(sym,vernum,sym_index,reloc)			  \
     ({									  \
       const ElfW(Sym) *ref = sym;					  \
-      const struct r_found_version *version				  \
+      const struct r_found_version *version __attribute__ ((unused))	  \
 	= vernum ? &map->l_versions[vernum[sym_index] & 0x7fff] : NULL;	  \
       struct link_map *sym_map;						  \
       sym_map = RESOLVE_MAP (&ref, version, reloc);			  \

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

Summary of changes:
 ports/ChangeLog.mips            |    3 +++
 ports/sysdeps/mips/dl-machine.h |    2 +-
 2 files changed, 4 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]