summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-05-17 07:11:37 +0000
committermarcel <marcel@FreeBSD.org>2004-05-17 07:11:37 +0000
commitc2f5be1df1cb1b4fd4663cc9eaddd75c29dfd184 (patch)
tree8b6cf8c658ac578c35700b22ec168e45747ad76c /sys/ia64
parent9c535024193e69e6212aa14ba78f22cf230a08e1 (diff)
downloadFreeBSD-src-c2f5be1df1cb1b4fd4663cc9eaddd75c29dfd184.zip
FreeBSD-src-c2f5be1df1cb1b4fd4663cc9eaddd75c29dfd184.tar.gz
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...
Diffstat (limited to 'sys/ia64')
-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 b40c21e..92a609f 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;
OpenPOWER on IntegriCloud