aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-05-17 07:11:37 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-05-17 07:11:37 +0000
commitef1eb2f33085d4d5cf9a6062e7a443ad51e180ca (patch)
tree8b6cf8c658ac578c35700b22ec168e45747ad76c
parent2921afed979b1cafcd28a1a83f1fed5be27cd604 (diff)
downloadsrc-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.c1
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;