diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-11 22:08:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-11 22:08:35 +0000 |
commit | f4d9a266b9434e6857083a5bce58770547bc9876 (patch) | |
tree | 50406fe24a726a5718c0ff207dd3454cea15ebac | |
parent | bdf82cbbc103a9850c1315a0cb30f5b42ce5f4bb (diff) |
declare reloc_addr as ElfW(Addr) instead of Word since it is an Addr, not a Word (and it will truncate addresses on 64bit hosts)
-rw-r--r-- | ldso/ldso/dl-elf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c index a469ddfd8..a55429615 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -721,7 +721,8 @@ int _dl_fixup(struct dyn_elf *rpnt, int now_flag) { int goof = 0; struct elf_resolve *tpnt; - ElfW(Word) reloc_size, reloc_addr, relative_count; + ElfW(Word) reloc_size, relative_count; + ElfW(Addr) reloc_addr; if (rpnt->next) goof += _dl_fixup(rpnt->next, now_flag); |