From owner-svn-src-all@FreeBSD.ORG Sun Jan 16 10:47:36 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C3C11065672; Sun, 16 Jan 2011 10:47:36 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2AD2B8FC15; Sun, 16 Jan 2011 10:47:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p0GAlaId060823; Sun, 16 Jan 2011 10:47:36 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0GAlatu060821; Sun, 16 Jan 2011 10:47:36 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201101161047.p0GAlatu060821@svn.freebsd.org> From: Konstantin Belousov Date: Sun, 16 Jan 2011 10:47:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217471 - stable/7/lib/csu/i386-elf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 10:47:36 -0000 Author: kib Date: Sun Jan 16 10:47:35 2011 New Revision: 217471 URL: http://svn.freebsd.org/changeset/base/217471 Log: MFC r217383: The (%esp & 0xf) == 0 should be true before the call instruction is executed, for the properly aligned stack. Modified: stable/7/lib/csu/i386-elf/crt1_s.S Directory Properties: stable/7/lib/csu/ (props changed) Modified: stable/7/lib/csu/i386-elf/crt1_s.S ============================================================================== --- stable/7/lib/csu/i386-elf/crt1_s.S Sun Jan 16 10:41:47 2011 (r217470) +++ stable/7/lib/csu/i386-elf/crt1_s.S Sun Jan 16 10:47:35 2011 (r217471) @@ -35,6 +35,7 @@ _start: xorl %ebp,%ebp movl %esp,%ebp andl $0xfffffff0,%esp # align stack leal 8(%ebp),%eax + subl $4,%esp pushl %eax # argv pushl 4(%ebp) # argc pushl %edx # rtld cleanup