Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1480c56 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

[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: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d8d7c28e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ SECTIONS
   * is remapped.*/
  __binary_start = .;
  . = ALIGN(4096);		/* Init code and data */
  _text = .;
  _stext = .;
  __init_begin = .;
  .init.text : {
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ SECTIONS
  . = ALIGN(4096);		/* Init code and data */
#endif

  _text = .;
  _stext = .;
  __init_begin = .;
  .init.text : {