* objdump.c (show_relocs_rel, show_relocs_rela): Split common parts
into ...
(show_relocs_x): ...here. New function.
+ (show_relocs): Better spacing in output.
* objdump.c (show_relocs_rela): Show offsets as signed values.
shdr->sh_info),
&destshdr_mem);
- printf (gettext ("\n\nRELOCATION RECORDS FOR [%s]:\n"
+ printf (gettext ("\nRELOCATION RECORDS FOR [%s]:\n"
"%-*s TYPE VALUE\n"),
elf_strptr (ebl->elf, shstrndx, destshdr->sh_name),
elfclass == ELFCLASS32 ? 8 : 16, gettext ("OFFSET"));
else
show_relocs_rela (ebl, shdr, data, symdata, xndxdata,
symshdr->sh_link, shstrndx);
+
+ fputs ("\n", stdout);
}
}
- fputs_unlocked ("\n\n", stdout);
-
return 0;
}