cvs commit: src/libexec/rtld-elf/sparc64 rtld_machdep.h rtld_start.S

Jake Burkholder jake at FreeBSD.org
Thu Jul 3 17:05:16 PDT 2003


jake        2003/07/03 17:05:15 PDT

  FreeBSD src repository

  Modified files:
    libexec/rtld-elf/sparc64 rtld_machdep.h rtld_start.S 
  Log:
  Avoid using the global offset table to get the address of _DYNAMIC in
  rtld.  When _DYNAMIC is referenced normally from C the global offset
  table is used implicitly, but newer versions of binutils don't initialize
  it statically in the binary, so this doesn't work until rtld is relocated,
  which _DYNAMIC is needed for...  So, as on other systems with the same
  problem, we disassemble a call instruction to _DYNAMIC in order to get
  its address.
  
  Revision  Changes    Path
  1.5       +1 -1      src/libexec/rtld-elf/sparc64/rtld_machdep.h
  1.5       +17 -0     src/libexec/rtld-elf/sparc64/rtld_start.S


More information about the cvs-all mailing list