[PATCH] uml: add _text definition to linker scripts
authorJeff Dike <jdike@addtoit.com>
Tue, 31 Oct 2006 06:07:13 +0000 (22:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 31 Oct 2006 16:07:00 +0000 (08:07 -0800)
kallsyms now refers to addresses as '_text + 0xADDRESS', rather than just
'0xADDRESS', so we need to define _text.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/dyn.lds.S
arch/um/kernel/uml.lds.S

index 68ed24d..e36f92b 100644 (file)
@@ -14,6 +14,7 @@ SECTIONS
    * is remapped.*/
   __binary_start = .;
   . = ALIGN(4096);             /* Init code and data */
+  _text = .;
   _stext = .;
   __init_begin = .;
   .init.text : {
index 8eca47a..f630127 100644 (file)
@@ -25,6 +25,7 @@ SECTIONS
   . = ALIGN(4096);             /* Init code and data */
 #endif
 
+  _text = .;
   _stext = .;
   __init_begin = .;
   .init.text : {