From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: "G. Hugh Song" <hugh@lucia.kjist.ac.kr>
Cc: linux-kernel@vger.rutgers.edu,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
axp-list@redhat.com
Subject: [patch] Re: Alpha LX164 with 2.3.99pre6 "not 2 program headers"
Date: Tue, 2 May 2000 17:41:50 +0400 [thread overview]
Message-ID: <20000502174150.A30892@jurassic.park.msu.ru> (raw)
In-Reply-To: <Pine.LNX.4.10.10004291733190.392-100000@lucia.kjist.ac.kr>; from hugh@lucia.kjist.ac.kr on Sat, Apr 29, 2000 at 07:04:48PM +0900
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
On Sat, Apr 29, 2000 at 07:04:48PM +0900, G. Hugh Song wrote:
> Expected 1, not 2 program headers
> ... Image loaded into memory, entry @ 0x0
> MILO: Failed to load the kernel
> MILO>
>
I think we should explicitly direct the linker to put
everything into the single segment.
Patches for 2.3.99pre6 and 2.2.15pre20 attached.
Ivan.
[-- Attachment #2: lds2.2.patch --]
[-- Type: text/plain, Size: 377 bytes --]
--- 2.2.15pre20/arch/alpha/vmlinux.lds Wed May 14 09:41:00 1997
+++ linux-2.2/arch/alpha/vmlinux.lds Tue May 2 16:55:29 2000
@@ -1,10 +1,11 @@
OUTPUT_FORMAT("elf64-alpha")
ENTRY(__start)
+PHDRS { kernel PT_LOAD ; }
SECTIONS
{
. = 0xfffffc0000310000;
_text = .;
- .text : { *(.text) }
+ .text : { *(.text) } :kernel
.text2 : { *(.text2) }
_etext = .;
[-- Attachment #3: lds2.3.patch --]
[-- Type: text/plain, Size: 369 bytes --]
--- 2.3.99pre6/arch/alpha/vmlinux.lds Fri Feb 25 09:36:04 2000
+++ linux-2.3/arch/alpha/vmlinux.lds Tue May 2 15:13:03 2000
@@ -1,10 +1,11 @@
OUTPUT_FORMAT("elf64-alpha")
ENTRY(__start)
+PHDRS { kernel PT_LOAD ; }
SECTIONS
{
. = 0xfffffc0000310000;
_text = .;
- .text : { *(.text) }
+ .text : { *(.text) } :kernel
_etext = .;
/* Exception table */
parent reply other threads:[~2000-05-02 13:40 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <Pine.LNX.4.10.10004291733190.392-100000@lucia.kjist.ac.kr>]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox