Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2002 18:22:16 -0700 (PDT)
From:      Marcel Moolenaar <marcel@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 link_elf.c src/sys/powerpc/powerpc elf_machdep.c src/sys/sparc64/sparc64 elf_machdep.c src/sys/sys linker.h
Message-ID:  <200204250122.g3P1MGC83912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2002/04/24 18:22:16 PDT

  Modified files:
    sys/alpha/alpha      elf_machdep.c 
    sys/i386/i386        elf_machdep.c 
    sys/ia64/ia64        elf_machdep.c 
    sys/kern             link_elf.c 
    sys/powerpc/powerpc  elf_machdep.c 
    sys/sparc64/sparc64  elf_machdep.c 
    sys/sys              linker.h 
  Log:
  Don't use the symbol name to lookup the symbol value when we can use
  the symbol index defined by the relocation. The elf_lookup() support
  function is to be used by elf_reloc() when symbol lookups need to be
  done. The elf_lookup() function operates on the symbol index and
  will do a symbol name based lookup when such is required, otherwise
  it uses the symbol index directly. This solves the problem seen on
  ia64 where the symbol hash table does not contain local symbols and
  a symbol name based lookup would fail for those symbols.
  
  Don't pass the symbol name to elf_reloc(), as it isn't used any more.
  
  Revision  Changes    Path
  1.9       +10 -11    src/sys/alpha/alpha/elf_machdep.c
  1.9       +8 -12     src/sys/i386/i386/elf_machdep.c
  1.4       +19 -24    src/sys/ia64/ia64/elf_machdep.c
  1.54      +55 -8     src/sys/kern/link_elf.c
  1.10      +9 -9      src/sys/powerpc/powerpc/elf_machdep.c
  1.5       +4 -3      src/sys/sparc64/sparc64/elf_machdep.c
  1.30      +3 -2      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?200204250122.g3P1MGC83912>