Messages in this thread Patch in this message | | | From | Keith Owens <> | Subject | Re: 2.6.7-mm6 - ppc32 inconsistent kallsyms data | Date | Tue, 06 Jul 2004 17:43:01 +1000 |
| |
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/
| |