From owner-cvs-src@FreeBSD.ORG Thu Jul 8 19:14:16 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 7822C16A4CE; Thu, 8 Jul 2004 19:14:16 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA8CB43D60; Thu, 8 Jul 2004 19:14:15 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id BDCA265339; Thu, 8 Jul 2004 20:14:13 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 55641-02-2; Thu, 8 Jul 2004 20:14:13 +0100 (BST) Received: from empiric.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 0E54B651F4; Thu, 8 Jul 2004 20:14:13 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id DB876613D; Thu, 8 Jul 2004 20:14:11 +0100 (BST) Date: Thu, 8 Jul 2004 20:14:11 +0100 From: Bruce M Simpson To: Peter Grehan Message-ID: <20040708191411.GA15368@empiric.dek.spc.org> Mail-Followup-To: Peter Grehan , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200407081252.i68CqZcd012247@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407081252.i68CqZcd012247@repoman.freebsd.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/powerpc/loader Makefile ldscript.powerpc 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, 08 Jul 2004 19:14:16 -0000 On Thu, Jul 08, 2004 at 12:52:35PM +0000, Peter Grehan wrote: > Log: > Use a linker script for the loader. This avoids issues with > command-line options, such as misaligning the data segment. > Exposed by the limited PearPC OFW ELF loader, but a good thing in > general. No big surprise. When I was converting the Alpha ARC version of the loader to work with SGI x86 ARC platforms, I also had to use a linker script to overcome some deficiencies in this area. My patches for this are still available for interested parties: http://people.freebsd.org/~bms/dump/loader-arc-x86-sgi.diff BMS