diff options
author | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-06 03:35:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-06 03:35:51 -0400 |
commit | ef88b7dba2b47c70037a34a599d383462bb74bd3 (patch) | |
tree | f50afe82c446cbf93893880878b97339fbdb8f49 /scripts/kallsyms.c | |
parent | f65e77693aa5a1cf688fc378bc6913a56f9ff7b7 (diff) | |
parent | aaebf4332018980fef4e601d1b5a6e52dd9e9ae4 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
Diffstat (limited to 'scripts/kallsyms.c')
-rw-r--r-- | scripts/kallsyms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index d3d2e5341051..9be41a9f5aff 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c | |||
@@ -207,9 +207,9 @@ symbol_valid(struct sym_entry *s) | |||
207 | * move then they may get dropped in pass 2, which breaks the | 207 | * move then they may get dropped in pass 2, which breaks the |
208 | * kallsyms rules. | 208 | * kallsyms rules. |
209 | */ | 209 | */ |
210 | if ((s->addr == _etext && strcmp(s->sym + offset, "_etext")) || | 210 | if ((s->addr == _etext && strcmp((char*)s->sym + offset, "_etext")) || |
211 | (s->addr == _einittext && strcmp(s->sym + offset, "_einittext")) || | 211 | (s->addr == _einittext && strcmp((char*)s->sym + offset, "_einittext")) || |
212 | (s->addr == _eextratext && strcmp(s->sym + offset, "_eextratext"))) | 212 | (s->addr == _eextratext && strcmp((char*)s->sym + offset, "_eextratext"))) |
213 | return 0; | 213 | return 0; |
214 | } | 214 | } |
215 | 215 | ||