diff objgrep/main.c @ 172:452baa748747

objgrep: -r implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 03:22:41 +0000
parents ddbfc1a1a811
children 77cd647375e5
line wrap: on
line diff
--- a/objgrep/main.c	Fri Jul 04 03:07:09 2014 +0000
+++ b/objgrep/main.c	Fri Jul 04 03:22:41 2014 +0000
@@ -68,5 +68,7 @@
 		binfilename, match_offset);
 	if (sflag)
 		dump_symtab_on_match();
+	if (rflag && grep_section->nreloc)
+		dump_relocs_on_match();
 	exit(0);
 }