cvs commit: src/libexec/rtld-elf/amd64 rtld_start.S

Peter Wemm peter at
Sat Mar 20 17:43:40 PST 2004

peter       2004/03/20 17:43:39 PST

  FreeBSD src repository

  Modified files:
    libexec/rtld-elf/amd64 rtld_start.S 
  More stack alignment fixes.  Arrange so we call _rtld() in
  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

More information about the cvs-all mailing list