On Thu, 25 Jul 2002, Johannes Stezenbach wrote:
> On most systems the .fill 0x400 is unnecessary and wastes 1KB (more
> than the .text.init size of head.o). Wouldn't it be better to remove the
> .fill and require the LOADADDR in arch/mips/Makefile to be >= 0x80000400?
It probably would, but I'm afraid we are bound by various firmware's
limitations. Not all systems seem to be able to load a system executable
at an arbitrary address. Anyone can comment?
Anyway a linker script magic seems to be possible to achieve a similar
result without hurting systems that set LOADADDR above 0x800003ff. I'll
look into it.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
|