Re: arch/alpha/Makefile, ld -N, bootp

Jeff Noxon (jeff@planetfall.com)
Fri, 4 Sep 1998 20:43:40 -0500


I'm using 2.1.119, which I'm booting with bootp. I'm using aboot to
create something bootp-friendly and booting it with SRM. Isn't that
how it's supposed to be done, or am I missing something?

Thanks

Jeff

On Fri, Sep 04, 1998 at 05:23:54PM -0700, Pete Wyckoff wrote:
> It looks like there was a code cleanup of much arch/alpha stuff for
> patch 2.1.116. One of these changes added "-N" to the LINKFLAGS used
> for putting vmlinux together. With this option, the linker does not
> page-align the segments in the file. The old way, without the "-N"
> flag, sticks a bunch of zeroes in vmlinux whenever the loader map
> specifies an alignment (like the 8k around the init sections).
>
> Creating a "bootpfile" and using bootp to ship that across I find the
> initial jump into start_kernel (init/main.c) from __start (arch/alpha/
> kernel/head.S) misses since the GOT tables are not where they should be
> in memory.
>
> Having removed the "-N", though, my kernels grow in size about 80kB
> (on 2.5MB). Hopefully everybody will be willing to suffer this to allow
> bootp to work? I apply the following patch now to a stock 2.1.119.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html