Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 18:42:44 -0800 (PST)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/alpha/alpha elf_machdep.c src/sys/i386/i386 elf_machdep.c src/sys/ia64/ia64 elf_machdep.c src/sys/kern kern_linker.c link_elf.c src/sys/powerpc/powerpc elf_machdep.c src/sys/sparc64/sparc64 elf_machdep.c src/sys/sys linker.h
Message-ID:  <200301210242.h0L2gi4C063514@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2003/01/20 18:42:44 PST

  Modified files:
    sys/alpha/alpha      elf_machdep.c 
    sys/i386/i386        elf_machdep.c 
    sys/ia64/ia64        elf_machdep.c 
    sys/kern             kern_linker.c link_elf.c 
    sys/powerpc/powerpc  elf_machdep.c 
    sys/sparc64/sparc64  elf_machdep.c 
    sys/sys              linker.h 
  Log:
  Resolve relative relocations in klds before trying to parse the module's
  metadata.  This fixes module dependency resolution by the kernel linker on
  sparc64, where the relocations for the metadata are different than on other
  architectures; the relative offset is in the addend of an Elf_Rela record
  instead of the original value of the location being patched.
  Also fix printf formats in debug code.
  
  Submitted by:   Hartmut Brandt <brandt@fokus.gmd.de>
  PR:             46732
  Tested on:      alpha (obrien), i386, sparc64
  
  Revision  Changes    Path
  1.13      +25 -5     src/sys/alpha/alpha/elf_machdep.c
  1.13      +26 -6     src/sys/i386/i386/elf_machdep.c
  1.10      +22 -3     src/sys/ia64/ia64/elf_machdep.c
  1.102     +29 -73    src/sys/kern/kern_linker.c
  1.69      +32 -0     src/sys/kern/link_elf.c
  1.14      +16 -2     src/sys/powerpc/powerpc/elf_machdep.c
  1.13      +23 -1     src/sys/sparc64/sparc64/elf_machdep.c
  1.35      +1 -0      src/sys/sys/linker.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301210242.h0L2gi4C063514>