Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 17:43:39 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec/rtld-elf/amd64 rtld_start.S
Message-ID:  <200403210143.i2L1hdHS004013@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2004/03/20 17:43:39 PST

  FreeBSD src repository

  Modified files:
    libexec/rtld-elf/amd64 rtld_start.S 
  Log:
  More stack alignment fixes.  Arrange so we call _rtld() in ld-elf.so.1
  with the correct alignment.  This is important because this calls to
  library static constructors are made from here.  The bug in the old crt*.s
  files hid this because in this case, two wrongs do indeed make a right.
  Also, call _rtld_bind() with the correct alignment, because it calls back
  into the pthread library locking functions.  If things happen just
  the wrong way, we get a SIG10 due to the broken stack alignment.
  
  Revision  Changes    Path
  1.5       +9 -8      src/libexec/rtld-elf/amd64/rtld_start.S



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