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-518-g585d9c1


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  585d9c182d34e96553f18ae357c46d2af4e57dee (commit)
      from  aee6626c30dd0043990d9554c943fdfdbf9fce83 (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=585d9c182d34e96553f18ae357c46d2af4e57dee

commit 585d9c182d34e96553f18ae357c46d2af4e57dee
Author: Chung-Lin Tang <cltang@codesourcery.com>
Date:   Fri Jan 9 09:40:29 2015 -0800

    Remove divide from _ELF_DYNAMIC_DO_RELOC in elf/dynamic-link.h.

diff --git a/ChangeLog b/ChangeLog
index fa778d2..8166165 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
+
+	* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
+	assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
+
 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
 
 	[BZ #17791]
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index a3eb173..6f4a773 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -122,8 +122,7 @@ elf_machine_lazy_rel (struct link_map *map,
 	ranges[0].size = (map)->l_info[DT_##RELOC##SZ]->d_un.d_val;	      \
 	if (map->l_info[VERSYMIDX (DT_##RELOC##COUNT)] != NULL)		      \
 	  ranges[0].nrelative						      \
-	    = MIN (map->l_info[VERSYMIDX (DT_##RELOC##COUNT)]->d_un.d_val,    \
-		   ranges[0].size / sizeof (ElfW(reloc)));		      \
+	    = map->l_info[VERSYMIDX (DT_##RELOC##COUNT)]->d_un.d_val;	      \
       }									      \
     if ((map)->l_info[DT_PLTREL]					      \
 	&& (!test_rel || (map)->l_info[DT_PLTREL]->d_un.d_val == DT_##RELOC)) \

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

Summary of changes:
 ChangeLog          |    5 +++++
 elf/dynamic-link.h |    3 +--
 2 files changed, 6 insertions(+), 2 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]