From: David McCullough Date: Thu, 7 May 2009 06:17:42 +0000 (+0000) Subject: only print "No relocations" when in verbose mode X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5991edd455f3fdb245d2fbb535d68313ae943ac9;p=elf2flt.git only print "No relocations" when in verbose mode Signed-off-by: Jie Zhang Signed-off-by: Mike Frysinger --- diff --git a/elf2flt.c b/elf2flt.c index 9ff0299..889ea98 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -2049,7 +2049,7 @@ int main(int argc, char *argv[]) output_relocs(abs_bfd, symbol_table, number_of_symbols, &reloc_len, text, text_len, text_vma, data, data_len, data_vma, rel_bfd); - if (reloc == NULL) + if (reloc == NULL && verbose) printf("No relocations in code!\n"); text_offs = real_address_bits(text_vma);