Messages in this thread | | | Date | Fri, 4 Sep 1998 23:32:09 -0700 | From | Richard Henderson <> | Subject | Re: arch/alpha/Makefile, ld -N, bootp |
| |
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.
Yep. Note that that's against an architecture maximum page size of 64k.
> 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).
Yep.
> 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.
"Not where they should be?" There are two options:
(1) Your binutils are broken; >= 2.9 I believe to be good. (2) The bootp constructor is broken, in that it isn't reading the elf phdr properly.
Number 1 may be disproven by booting the kernel in question directly. I'll see what I can see in the bootp code, which which I am not familiar.
r~
- 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
| |