projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b767b90
)
kallsyms: fix inverted valid symbol checking
author
Mike Frysinger
<
[email protected]
>
Mon, 15 Jun 2009 11:52:48 +0000
(07:52 -0400)
committer
Sam Ravnborg
<
[email protected]
>
Sat, 20 Jun 2009 11:33:23 +0000
(13:33 +0200)
The previous commit (
17b1f0de
) introduced a slightly broken consolidation
of the memory text range checking.
Signed-off-by: Mike Frysinger <
[email protected]
>
Signed-off-by: Sam Ravnborg <
[email protected]
>
scripts/kallsyms.c
patch
|
blob
|
history
diff --git
a/scripts/kallsyms.c
b/scripts/kallsyms.c
index 3cb57895c9ea5629089f90d7bc79575673d30416..64343cc084b41f2f9f813742c381717e41ab77ac 100644
(file)
--- a/
scripts/kallsyms.c
+++ b/
scripts/kallsyms.c
@@
-167,11
+167,11
@@
static int symbol_valid_tr(struct sym_entry *s)
for (i = 0; i < ARRAY_SIZE(text_ranges); ++i) {
tr = &text_ranges[i];
- if (s->addr >= tr->start && s->addr < tr->end)
- return
0
;
+ if (s->addr >= tr->start && s->addr <
=
tr->end)
+ return
1
;
}
- return
1
;
+ return
0
;
}
static int symbol_valid(struct sym_entry *s)