Skip to contentSkip to conversation

vmlinux.lds.S

PATCH In review [email protected] 2 participants 4 messages Jun 4, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmlinux.lds.S

Without this generated image is weired, and cannot be loaded.

Index: arch/mips64/vmlinux.lds.S
===================================================================
RCS file: /home/cvs/linux/arch/mips64/vmlinux.lds.S,v retrieving revision 1.11

mips64/vmlinux.lds.S 4 Jun 2003 04:18:05 -0000 renamed from mips64/vmlinux.lds.S 3 Jun 2003 17:04:11 -0000 1.11 +1 -0
diff -u -r1.11 vmlinux.lds.S
@@ -46,6 +46,7 @@
   __kallsyms : { *(__kallsyms) }
   __stop___kallsyms = .;
 
+  RODATA
   . = ALIGN(64);
 
   /* writeable */
#1 lore raw

On Tue, 2003-06-03 21:20:38 -0700, [email protected] <[email protected]> wrote in message <[email protected]>:

Quoted 10 lines

Without this generated image is weired, and cannot be loaded.

Index: arch/mips64/vmlinux.lds.S
===================================================================
RCS file: /home/cvs/linux/arch/mips64/vmlinux.lds.S,v retrieving revision 1.11
diff -u -r1.11 vmlinux.lds.S

mips64/vmlinux.lds.S 4 Jun 2003 04:18:05 -0000 line 52

Quoted 7 lines
mips64/vmlinux.lds.S 4 Jun 2003 04:18:05 -0000 renamed from mips64/vmlinux.lds.S 3 Jun 2003 17:04:11 -0000 1.11 +1 -0
@@ -46,6 +46,7 @@
   __kallsyms : { *(__kallsyms) }
   __stop___kallsyms = .;
 
+  RODATA
   . = ALIGN(64);
 
   /* writeable */

This is for 2.5.x? Maybe that's even what prevents my Indy to boot (using a 32bit kernel). I'll test that tonight;)

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
#2 lore raw

Yeap, this is for 2.5.59
Not anything earlier.
Without this patch PROM will tell you there is not enough memory to load the image.

Quoted 31 lines · Jan-Benedict Glaw

On Tue, 2003-06-03 21:20:38 -0700, [email protected] <[email protected]> wrote in message <[email protected]>:

Quoted 10 lines

Without this generated image is weired, and cannot be loaded.

Index: arch/mips64/vmlinux.lds.S
===================================================================
RCS file: /home/cvs/linux/arch/mips64/vmlinux.lds.S,v retrieving revision 1.11
diff -u -r1.11 vmlinux.lds.S

mips64/vmlinux.lds.S 4 Jun 2003 04:18:05 -0000 line 52

Quoted 7 lines
mips64/vmlinux.lds.S 4 Jun 2003 04:18:05 -0000 renamed from mips64/vmlinux.lds.S 3 Jun 2003 17:04:11 -0000 1.11 +1 -0
@@ -46,6 +46,7 @@
   __kallsyms : { *(__kallsyms) }
   __stop___kallsyms = .;
 
+  RODATA
   . = ALIGN(64);
 
   /* writeable */

This is for 2.5.x? Maybe that's even what prevents my Indy to boot (using a 32bit kernel). I'll test that tonight;)

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier B?rger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
#3 lore raw

On Wed, 2003-06-04 08:00:25 -0700, [email protected] <[email protected]> wrote in message <[email protected]>:

Quoted 3 lines

Yeap, this is for 2.5.59
Not anything earlier.
Without this patch PROM will tell you there is not enough memory to load the image.

My machine simply freezed. Looking at a tcpdump, I saw an error code wich evaluates to "ELF allocation exceeded" - sounds pretty much like your error...

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));