Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so/arch/sparc For consistency, use Elf_Word* ...



details:   https://anonhg.NetBSD.org/src/rev/2614df45ed2c
branches:  trunk
changeset: 537025:2614df45ed2c
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Sep 25 22:33:54 2002 +0000

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

diffstat:

 libexec/ld.elf_so/arch/sparc/mdreloc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d44df7ef3b10 -r 2614df45ed2c libexec/ld.elf_so/arch/sparc/mdreloc.c
--- a/libexec/ld.elf_so/arch/sparc/mdreloc.c    Wed Sep 25 22:30:13 2002 +0000
+++ b/libexec/ld.elf_so/arch/sparc/mdreloc.c    Wed Sep 25 22:33:54 2002 +0000
@@ -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 @@
        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 */



Home | Main Index | Thread Index | Old Index