Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 16:12:53 -0700 (PDT)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern link_elf.c src/sys/sparc64/sparc64 elf_machdep.c src/sys/sys linker.h
Message-ID:  <200209272312.g8RNCrkG080698@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2002/09/27 16:12:53 PDT

  Modified files:
    sys/kern             link_elf.c 
    sys/sparc64/sparc64  elf_machdep.c 
    sys/sys              linker.h 
  Log:
  Add a workaround for what seems to be confusion between binutils and the
  sparc v9 ABI.  The Elf_Rela records for local symbols appear to already
  have the symbol's value added in to the addend field, even though the ABI
  specifies we need to lookup the symbol and add its value too.  This breaks
  text relocations in klds because the symbol's value is added twice, and
  the resulting address points off into nowhere land, so for now just use
  the addend.
  
  Tested by:      rwatson
  
  Revision  Changes    Path
  1.61      +10 -0     src/sys/kern/link_elf.c
  1.10      +39 -8     src/sys/sparc64/sparc64/elf_machdep.c
  1.32      +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?200209272312.g8RNCrkG080698>