* [PATCH 1/3] UML - Add _text definition to linker scripts
@ 2006-10-30 21:02 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-10-30 21:02 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, user-mode-linux-devel
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>
Index: linux-2.6.18-mm/arch/um/kernel/dyn.lds.S
===================================================================
--- linux-2.6.18-mm.orig/arch/um/kernel/dyn.lds.S 2006-10-30 13:11:25.000000000 -0500
+++ linux-2.6.18-mm/arch/um/kernel/dyn.lds.S 2006-10-30 13:52:26.000000000 -0500
@@ -14,6 +14,7 @@ SECTIONS
* is remapped.*/
__binary_start = .;
. = ALIGN(4096); /* Init code and data */
+ _text = .;
_stext = .;
__init_begin = .;
.init.text : {
Index: linux-2.6.18-mm/arch/um/kernel/uml.lds.S
===================================================================
--- linux-2.6.18-mm.orig/arch/um/kernel/uml.lds.S 2006-10-30 13:11:25.000000000 -0500
+++ linux-2.6.18-mm/arch/um/kernel/uml.lds.S 2006-10-30 13:52:10.000000000 -0500
@@ -25,6 +25,7 @@ SECTIONS
. = ALIGN(4096); /* Init code and data */
#endif
+ _text = .;
_stext = .;
__init_begin = .;
.init.text : {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-30 20:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-30 21:02 [PATCH 1/3] UML - Add _text definition to linker scripts Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®