* [patch] Re: Alpha LX164 with 2.3.99pre6 "not 2 program headers"
[not found] <Pine.LNX.4.10.10004291733190.392-100000@lucia.kjist.ac.kr>
@ 2000-05-02 13:41 ` Ivan Kokshaysky
0 siblings, 0 replies; only message in thread
From: Ivan Kokshaysky @ 2000-05-02 13:41 UTC (permalink / raw)
To: G. Hugh Song; +Cc: linux-kernel, Alan Cox, axp-list
[-- 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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-02 13:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.10.10004291733190.392-100000@lucia.kjist.ac.kr>
2000-05-02 13:41 ` [patch] Re: Alpha LX164 with 2.3.99pre6 "not 2 program headers" Ivan Kokshaysky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox