linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] _end symbol missing from Symbol.map
@ 2009-08-13  6:45 Hannes Reinecke
  2009-08-19 16:37 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Hannes Reinecke @ 2009-08-13  6:45 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Linux Kernel

Hi all,

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:

diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 59f31d2..1422df5 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -376,9 +376,7 @@ SECTIONS
                __brk_limit = .;
        }
 
-       .end : AT(ADDR(.end) - LOAD_OFFSET) {
-               _end = .;
-       }
+       _end = .;
 
        /* Sections to be discarded */
        /DISCARD/ : {

or someone has to fixup kallsyms. But this is far beyond my comfort zone.

Cheers,

Hannes
---
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

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

end of thread, other threads:[~2009-08-20 19:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13  6:45 [REGRESSION] _end symbol missing from Symbol.map Hannes Reinecke
2009-08-19 16:37 ` Andrew Morton
2009-08-20  5:59   ` Hannes Reinecke
2009-08-20 10:59     ` Takashi Iwai
2009-08-20 19:15       ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).