All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 1/4] x86: _end symbol missing from Symbol.map
@ 2009-11-04 15:19 akpm
  2009-11-08 11:07 ` [tip:x86/urgent] x86: Add back _end symbol that is " tip-bot for Hannes Reinecke
  0 siblings, 1 reply; 9+ messages in thread
From: akpm @ 2009-11-04 15:19 UTC (permalink / raw)
  To: linux-kbuild; +Cc: akpm, hare, mingo, sam, stable

From: Hannes Reinecke <hare@suse.de>

With 2.6.31 'crash' on x86_64 falls flat on its face as the '_end' symbol
is missing from the System.map file.

The culprit is commit 091e52c3551d3031343df24b573b770b4c6c72b6, which
moved the '_end' symbol into it's own section.  Apparently this causes
kallsyms to not reference it properly.

So either we'd need to revert part of the patch to not include _end in
it's own section.

Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/x86/kernel/vmlinux.lds.S |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff -puN arch/x86/kernel/vmlinux.lds.S~x86-_end-symbol-missing-from-symbolmap arch/x86/kernel/vmlinux.lds.S
--- a/arch/x86/kernel/vmlinux.lds.S~x86-_end-symbol-missing-from-symbolmap
+++ a/arch/x86/kernel/vmlinux.lds.S
@@ -319,9 +319,7 @@ SECTIONS
 		__brk_limit = .;
 	}
 
-	.end : AT(ADDR(.end) - LOAD_OFFSET) {
-		_end = .;
-	}
+	_end = .;
 
         STABS_DEBUG
         DWARF_DEBUG
_

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-14 22:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 15:19 [patch 1/4] x86: _end symbol missing from Symbol.map akpm
2009-11-08 11:07 ` [tip:x86/urgent] x86: Add back _end symbol that is " tip-bot for Hannes Reinecke
2009-11-08 11:38   ` Sam Ravnborg
2009-11-08 11:48     ` Ingo Molnar
2009-11-08 12:38       ` Sam Ravnborg
2009-11-08 12:42         ` Ingo Molnar
2009-11-09 18:40         ` H. Peter Anvin
2009-12-14 22:27           ` [tip:x86/urgent] x86: Regex support and known-movable symbols for relocs, fix _end tip-bot for H. Peter Anvin
2009-11-08 16:36     ` [tip:x86/urgent] x86: Add back _end symbol that is missing from Symbol.map H. Peter Anvin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.