summaryrefslogtreecommitdiff
path: root/arch/um/kernel/uml.lds.S
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-10-31 09:07:13 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-31 19:07:00 +0300
commitd1480c56feb2a894fd47fb399999a5b320c3e103 (patch)
tree38a6501a2a293d83380b35aac91fa07d1c6dba18 /arch/um/kernel/uml.lds.S
parentd8d7c28ec0b50ac57ddc909ae6eca1519473f300 (diff)
downloadlinux-d1480c56feb2a894fd47fb399999a5b320c3e103.tar.xz
[PATCH] uml: add _text definition to linker scripts
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>
Diffstat (limited to 'arch/um/kernel/uml.lds.S')
-rw-r--r--arch/um/kernel/uml.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S
index 8eca47a6ff08..f6301274cf3c 100644
--- a/arch/um/kernel/uml.lds.S
+++ b/arch/um/kernel/uml.lds.S
@@ -25,6 +25,7 @@ SECTIONS
. = ALIGN(4096); /* Init code and data */
#endif
+ _text = .;
_stext = .;
__init_begin = .;
.init.text : {