Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349884
b: refs/heads/master
c: 3843b05
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Dec 9, 2012
1 parent f82c24a commit 66d30f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0d246b85fc7d42688d7a5d999ea671777caf65b
refs/heads/master: 3843b05d6ef20acbd4b0043e4ab7536602eb10ae
11 changes: 11 additions & 0 deletions trunk/tools/perf/util/symbol-elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,17 @@ int dso__load_sym(struct dso *dso, struct map *map,
sym.st_value);
used_opd = true;
}
/*
* When loading symbols in a data mapping, ABS symbols (which
* has a value of SHN_ABS in its st_shndx) failed at
* elf_getscn(). And it marks the loading as a failure so
* already loaded symbols cannot be fixed up.
*
* I'm not sure what should be done. Just ignore them for now.
* - Namhyung Kim
*/
if (sym.st_shndx == SHN_ABS)
continue;

sec = elf_getscn(runtime_ss->elf, sym.st_shndx);
if (!sec)
Expand Down

0 comments on commit 66d30f2

Please sign in to comment.