Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 15:27:10 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/libexec/rtld-elf rtld.c
Message-ID:  <200910101527.n9AFRW5n050686@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2009-10-10 15:27:10 UTC

  FreeBSD src repository

  Modified files:
    libexec/rtld-elf     rtld.c 
  Log:
  SVN rev 197931 on 2009-10-10 15:27:10Z by kib
  
  Calculate relocation base for the main object, and apply the relocation
  adjustment for all virtual addresses encoded into the ELF structures of
  it. PIE binary could and should be loaded at non-zero mapbase.
  
  For sym_zero pseudosymbol used as a return value from find_symdef()
  for undefined weak symbols, st_value also should be adjusted, since
  _rtld_bind corrects symbol values by relocbase.
  
  Discussed with: bz
  Reviewed by:    kan
  Tested by:      bz (i386, amd64), bsam (linux)
  MFC after:      some time
  
  Revision  Changes    Path
  1.140     +15 -14    src/libexec/rtld-elf/rtld.c



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