For consistency, use Elf_Word* to point to code, not Elf_Addr*.

This commit is contained in:
mycroft 2002-09-25 22:33:54 +00:00
parent 3f064bb6f4
commit 6bff9ffc3d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.27 2002/09/25 07:27:54 mycroft Exp $ */
/* $NetBSD: mdreloc.c,v 1.28 2002/09/25 22:33:54 mycroft Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@ -338,7 +338,7 @@ _rtld_bind(obj, reloff)
const Elf_Rela *rela = (const Elf_Rela *)((caddr_t)obj->pltrela + reloff);
const Elf_Sym *def;
const Obj_Entry *defobj;
Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
Elf_Word *where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
Elf_Addr value;
/* Fully resolve procedure addresses now */