+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]
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)) \