diff options
author | Keith Owens <kaos@sgi.com> | 2004-07-10 19:31:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-10 19:31:08 -0700 |
commit | 929f0ace013d75d923e9041d6e23158ecb92f714 (patch) | |
tree | 8c0bb3dfeba62b567cb0fc7e9e8457dd0bb4d895 /scripts | |
parent | fde749988c0e7ceacdce5c48a78940ee74217e2b (diff) | |
download | history-929f0ace013d75d923e9041d6e23158ecb92f714.tar.gz |
[PATCH] kallsyms ppc32 fix
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kallsyms.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 5d6261b8cc6ff7..e21a5d1a255aea 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -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; } |