diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-05-17 07:11:37 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-05-17 07:11:37 +0000 |
commit | ef1eb2f33085d4d5cf9a6062e7a443ad51e180ca (patch) | |
tree | 8b6cf8c658ac578c35700b22ec168e45747ad76c | |
parent | 2921afed979b1cafcd28a1a83f1fed5be27cd604 (diff) | |
download | src-ef1eb2f33085d4d5cf9a6062e7a443ad51e180ca.tar.gz src-ef1eb2f33085d4d5cf9a6062e7a443ad51e180ca.zip |
Unbreak build due to previous commit: now that elf_reloc_internal()
gets the relocation base passed in relocbase, we cannot declare a
local variable with the same name. Assume the argument holds the
same value as the local variable did...
Notes
Notes:
svn path=/head/; revision=129323
-rw-r--r-- | sys/ia64/ia64/elf_machdep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ia64/ia64/elf_machdep.c b/sys/ia64/ia64/elf_machdep.c index b40c21e125e6..92a609f34763 100644 --- a/sys/ia64/ia64/elf_machdep.c +++ b/sys/ia64/ia64/elf_machdep.c @@ -194,7 +194,6 @@ static int elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, int local, elf_lookup_fn lookup) { - Elf_Addr relocbase = (Elf_Addr)lf->address; Elf_Addr *where; Elf_Addr addend, addr; Elf_Word rtype, symidx; |