From owner-cvs-all@FreeBSD.ORG Sat Mar 20 17:43:40 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2472216A4CE; Sat, 20 Mar 2004 17:43:40 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08D3E43D45; Sat, 20 Mar 2004 17:43:40 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2L1hdGe004014; Sat, 20 Mar 2004 17:43:39 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2L1hdHS004013; Sat, 20 Mar 2004 17:43:39 -0800 (PST) (envelope-from peter) Message-Id: <200403210143.i2L1hdHS004013@repoman.freebsd.org> From: Peter Wemm Date: Sat, 20 Mar 2004 17:43:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/rtld-elf/amd64 rtld_start.S X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 01:43:40 -0000 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