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/x86_64 Adapt for an actually correct ...



details:   https://anonhg.NetBSD.org/src/rev/cf1fefa110e6
branches:  trunk
changeset: 511418:cf1fefa110e6
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Jun 19 12:07:50 2001 +0000

description:
Adapt for an actually correct sys/exec_elf.h

diffstat:

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

diffs (21 lines):

diff -r b6be8347aa5f -r cf1fefa110e6 libexec/ld.elf_so/arch/x86_64/mdreloc.c
--- a/libexec/ld.elf_so/arch/x86_64/mdreloc.c   Tue Jun 19 12:07:21 2001 +0000
+++ b/libexec/ld.elf_so/arch/x86_64/mdreloc.c   Tue Jun 19 12:07:50 2001 +0000
@@ -16,7 +16,7 @@
 extern Elf64_Addr _GLOBAL_OFFSET_TABLE_[];
 
 int
-_rtld_relocate_nonplt_object(Obj_Entry *obj, const Elf_RelA *rela, bool dodebug)
+_rtld_relocate_nonplt_object(Obj_Entry *obj, const Elf_Rela *rela, bool dodebug)
 {
        Elf64_Addr *where64;
        Elf32_Addr *where32;
@@ -124,7 +124,7 @@
 
 
 int
-_rtld_relocate_plt_object(Obj_Entry *obj, const Elf_RelA *rela, caddr_t *addrp,
+_rtld_relocate_plt_object(Obj_Entry *obj, const Elf_Rela *rela, caddr_t *addrp,
                          bool bind_now, bool dodebug)
 {
        Elf32_Addr *where = (Elf32_Addr *)(obj->relocbase + rela->r_offset);



Home | Main Index | Thread Index | Old Index