lkml.org 
[lkml]   [2004]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.6.7-mm6 - ppc32 inconsistent kallsyms data
Date
I hate it when I spot a typo after pressing enter ...

--- kallsyms-ppc32 ---

PPC small data area base symbols shift between kallsyms phases 1 and 2,
which makes the kallsyms data unstable. Exclude them from the kallsyms
list.

Signed-off-by: Keith Owens <kaos@sgi.com>

Index: 2.6.7-mm6/scripts/kallsyms.c
===================================================================
--- 2.6.7-mm6.orig/scripts/kallsyms.c 2004-07-06 17:26:14.000000000 +1000
+++ 2.6.7-mm6/scripts/kallsyms.c 2004-07-06 17:41:29.000000000 +1000
@@ -83,6 +83,11 @@ symbol_valid(struct sym_entry *s)
strcmp(s->sym, "kallsyms_names") == 0)
return 0;

+ /* Exclude linker generated symbols which vary between passes */
+ if (strcmp(s->sym, "_SDA_BASE_") == 0 || /* ppc */
+ strcmp(s->sym, "_SDA2_BASE_") == 0) /* ppc */
+ return 0;
+
return 1;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.248 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site