lkml.org 
[lkml]   [1998]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.047 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site