about summary refs log tree commit diff
path: root/elf/do-rel.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/do-rel.h
parente453f6cd0ccdd64a3f5f156e2c5f70085e9289e7 (diff)
downloadglibc-aac13307d6879af0f46e6b26895244d063c50db5.tar.gz
glibc-aac13307d6879af0f46e6b26895244d063c50db5.tar.xz
glibc-aac13307d6879af0f46e6b26895244d063c50db5.zip
Cleanup last patch
Diffstat (limited to 'elf/do-rel.h')
-rw-r--r--elf/do-rel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/do-rel.h b/elf/do-rel.h
index 69f2f0e467..05c03f7520 100644
--- a/elf/do-rel.h
+++ b/elf/do-rel.h
@@ -49,7 +49,8 @@
 auto inline void __attribute__ ((always_inline))
 elf_dynamic_do_Rel (struct link_map *map,
 		    ElfW(Addr) reladdr, ElfW(Addr) relsize,
-		    ElfW(Word) nrelative, int lazy, int skip_ifunc)
+		    __typeof (((ElfW(Dyn) *) 0)->d_un.d_val) nrelative,
+		    int lazy, int skip_ifunc)
 {
   const ElfW(Rel) *r = (const void *) reladdr;
   const ElfW(Rel) *end = (const void *) (reladdr + relsize);