1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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

This commit is contained in:
Chung-Lin Tang
2015-01-09 09:40:29 -08:00
parent aee6626c30
commit 585d9c182d
2 changed files with 6 additions and 2 deletions

View File

@ -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)) \