diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-26 21:46:23 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-26 21:46:23 +0000 |
commit | c6aa2c467b0b3d54e536aee2456415d08164b207 (patch) | |
tree | b6b10de4cebcc72b3aac22aaaab3882687c6c78a /addr2line.c | |
parent | e6dcb3b174d6bfaafe623a0e4a8270989e1eca9b (diff) |
temporally change for powerpc64-linux fc18
fc18 powerpc64's libc6-dbg has symtab/strtab but it can't be
referenced. therefore add workaround not to see them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'addr2line.c')
-rw-r--r-- | addr2line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addr2line.c b/addr2line.c index 417061b652..5b4c1eaf2a 100644 --- a/addr2line.c +++ b/addr2line.c @@ -541,7 +541,7 @@ fill_lines(int num_traces, void **traces, int check_debuglink, } } - if (symtab_shdr && strtab_shdr) { + if (check_debuglink && symtab_shdr && strtab_shdr) { char *strtab = file + strtab_shdr->sh_offset; ElfW(Sym) *symtab = (ElfW(Sym) *)(file + symtab_shdr->sh_offset); int symtab_count = (int)(symtab_shdr->sh_size / sizeof(ElfW(Sym))); |