From owner-cvs-src@FreeBSD.ORG Thu May 19 07:36:08 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E50216A4CE; Thu, 19 May 2005 07:36:08 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECEA043DC0; Thu, 19 May 2005 07:36:07 +0000 (GMT) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4J7a7na006844; Thu, 19 May 2005 07:36:07 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4J7a7sH006843; Thu, 19 May 2005 07:36:07 GMT (envelope-from dfr) Message-Id: <200505190736.j4J7a7sH006843@repoman.freebsd.org> From: Doug Rabson Date: Thu, 19 May 2005 07:36:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/csu/i386-elf crt1.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 07:36:08 -0000 dfr 2005-05-19 07:36:07 UTC FreeBSD src repository Modified files: lib/csu/i386-elf crt1.c Log: Align the stack to a 16 byte boundary so that we can safely call functions that use SSE. The compiler does attempt to do this in main() but not very successfully - it still manages to use unaligned offsets from %ebp in some cases. Also we need to have an aligned stack in case something uses SSE via _init(). MFC After: 1 week Revision Changes Path 1.14 +3 -0 src/lib/csu/i386-elf/crt1.c