FreeCalypso > hg > freecalypso-reveng
diff objgrep/main.c @ 173:77cd647375e5
objgrep -r: dump symbols in other sections recovered through relocs
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 04 Jul 2014 06:34:33 +0000 |
parents | 452baa748747 |
children |
line wrap: on
line diff
--- a/objgrep/main.c Fri Jul 04 03:22:41 2014 +0000 +++ b/objgrep/main.c Fri Jul 04 06:34:33 2014 +0000 @@ -68,7 +68,12 @@ binfilename, match_offset); if (sflag) dump_symtab_on_match(); - if (rflag && grep_section->nreloc) - dump_relocs_on_match(); + if (rflag && grep_section->nreloc) { + process_relocs_on_match(); + if (nreloc_ext) + dump_ext_relocs_on_match(); + if (nreloc_int) + dump_reloc_symtab_on_match(); + } exit(0); }