cvs commit: src/sys/boot/powerpc/loader Makefile ldscript.powerpc

Bruce M Simpson bms at spc.org
Thu Jul 8 12:14:16 PDT 2004


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


More information about the cvs-src mailing list