Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323674
b: refs/heads/master
c: 52f9ddb
h: refs/heads/master
v: v3
  • Loading branch information
Cody P Schafer authored and Arnaldo Carvalho de Melo committed Aug 13, 2012
1 parent ddd8024 commit f80351c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 0f75a710dfd8fd5cd9e558e3f26c474c8fa63e3c
refs/heads/master: 52f9ddba516214a59fdd8eb155b2583ab314dc31
3 changes: 3 additions & 0 deletions trunk/tools/perf/util/symbol-elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ int dso__synthesize_plt_symbols(struct dso *dso, char *name, struct map *map,
if (symstrs == NULL)
goto out_elf_end;

if (symstrs->d_size == 0)
goto out_elf_end;

nr_rel_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize;
plt_offset = shdr_plt.sh_offset;

Expand Down

0 comments on commit f80351c

Please sign in to comment.