aboutsummaryrefslogtreecommitdiff
path: root/elf/dynamic-link.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-16 10:24:02 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-16 10:24:02 -0400
commitaac13307d6879af0f46e6b26895244d063c50db5 (patch)
treecd42d08d41c5fac0fe7d090eaba7a7ea4731b327 /elf/dynamic-link.h
parente453f6cd0ccdd64a3f5f156e2c5f70085e9289e7 (diff)
downloadglibc-aac13307d6879af0f46e6b26895244d063c50db5.tar
glibc-aac13307d6879af0f46e6b26895244d063c50db5.tar.gz
glibc-aac13307d6879af0f46e6b26895244d063c50db5.tar.bz2
glibc-aac13307d6879af0f46e6b26895244d063c50db5.zip
Cleanup last patch
Diffstat (limited to 'elf/dynamic-link.h')
-rw-r--r--elf/dynamic-link.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index 486408d3c5..9cdbee1e34 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -258,7 +258,8 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
# ifdef ELF_MACHINE_PLTREL_OVERLAP
# define _ELF_DYNAMIC_DO_RELOC(RELOC, reloc, map, do_lazy, skip_ifunc, test_rel) \
do { \
- struct { ElfW(Addr) start, size; ElfW(Word) nrelative; int lazy; } \
+ struct { ElfW(Addr) start, size; \
+ __typeof (((ElfW(Dyn) *) 0)->d_un.d_val) nrelative; int lazy; } \
ranges[3]; \
int ranges_index; \
\
@@ -299,7 +300,8 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
# else
# define _ELF_DYNAMIC_DO_RELOC(RELOC, reloc, map, do_lazy, skip_ifunc, test_rel) \
do { \
- struct { ElfW(Addr) start, size; ElfW(Word) nrelative; int lazy; } \
+ struct { ElfW(Addr) start, size; \
+ __typeof (((ElfW(Dyn) *) 0)->d_un.d_val) nrelative; int lazy; } \
ranges[2] = { { 0, 0, 0, 0 }, { 0, 0, 0, 0 } }; \
\
if ((map)->l_info[DT_##RELOC]) \