From owner-cvs-src-old@FreeBSD.ORG Tue Dec 28 22:32:16 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD17A106566C for ; Tue, 28 Dec 2010 22:32:16 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA668FC0C for ; Tue, 28 Dec 2010 22:32:16 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBSMWGTD080731 for ; Tue, 28 Dec 2010 22:32:16 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBSMWGPC080730 for cvs-src-old@freebsd.org; Tue, 28 Dec 2010 22:32:16 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201012282232.oBSMWGPC080730@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Tue, 28 Dec 2010 22:31:59 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/rtld-elf/powerpc64 rtld_start.S X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 22:32:16 -0000 nwhitehorn 2010-12-28 22:31:59 UTC FreeBSD src repository Modified files: libexec/rtld-elf/powerpc64 rtld_start.S Log: SVN rev 216780 on 2010-12-28 22:31:59Z by nwhitehorn Fix an error in the ABI in rtld_bind_start(). When passing arguments to a C function, the caller's stack frame must have room to store all of the arguments to that function. While here, fix stack frame alignment issues. Without this change, the compiler will save r3 and r4 into the caller's stack frame before calling setjmp() in _rtld_bind(). These would then overwrite arguments to the newly-bound function, causing eventual failures. Revision Changes Path 1.2 +43 -43 src/libexec/rtld-elf/powerpc64/rtld_start.S