projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf symbols: Use (long) for iterator for bfd symbols
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
symbol.c
diff --git
a/tools/perf/util/symbol.c
b/tools/perf/util/symbol.c
index
64a039c
..
1645fb4
100644
(file)
--- a/
tools/perf/util/symbol.c
+++ b/
tools/perf/util/symbol.c
@@
-1561,12
+1561,11
@@
static int bfd2elf_binding(asymbol *symbol)
int dso__load_bfd_symbols(struct dso *dso, const char *debugfile)
{
int err = -1;
int dso__load_bfd_symbols(struct dso *dso, const char *debugfile)
{
int err = -1;
- long symbols_size, symbols_count;
+ long symbols_size, symbols_count
, i
;
asection *section;
asymbol **symbols, *sym;
struct symbol *symbol;
bfd *abfd;
asection *section;
asymbol **symbols, *sym;
struct symbol *symbol;
bfd *abfd;
- u_int i;
u64 start, len;
abfd = bfd_openr(dso->long_name, NULL);
u64 start, len;
abfd = bfd_openr(dso->long_name, NULL);