From owner-cvs-src@FreeBSD.ORG Sun Aug 22 00:26:01 2004 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 C1F3E16A4CE; Sun, 22 Aug 2004 00:26:01 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B857243D3F; Sun, 22 Aug 2004 00:26:01 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7M0Q11h098162; Sun, 22 Aug 2004 00:26:01 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7M0Q1tg098161; Sun, 22 Aug 2004 00:26:01 GMT (envelope-from marcel) Message-Id: <200408220026.i7M0Q1tg098161@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 22 Aug 2004 00:26:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/alpha/common Makefile.common ldscript 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: Sun, 22 Aug 2004 00:26:01 -0000 marcel 2004-08-22 00:26:01 UTC FreeBSD src repository Modified files: sys/boot/alpha/common Makefile.common Added files: sys/boot/alpha/common ldscript Log: Part 1 of fixing the boot code: binutils 2.15 fixes. The binutils 2.15 assembler now automaticly and non-optionally adds the .eh_frame section for unwind information. This section appears to wreck havoc to the final boot code. Fix this by using a special linker script that discards the .eh_frame sections, but is otherwise identical to the linker internal script used for -N. Compiler used: gcc 3.3.5 Verified with: binutils 2.14 & binutils 2.15 (stock and in-tree) Tested with: /boot/loader & /boot/netboot Revision Changes Path 1.19 +1 -1 src/sys/boot/alpha/common/Makefile.common 1.1 +201 -0 src/sys/boot/alpha/common/ldscript (new)