Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2004 20:14:11 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Peter Grehan <grehan@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/boot/powerpc/loader Makefile ldscript.powerpc
Message-ID:  <20040708191411.GA15368@empiric.dek.spc.org>
In-Reply-To: <200407081252.i68CqZcd012247@repoman.freebsd.org>
References:  <200407081252.i68CqZcd012247@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040708191411.GA15368>