This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
objdump prints PE relocations with --private-headers, not --reloc
- From: Pavel Roskin <proski at gnu dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 23 Oct 2003 00:10:23 -0400 (EDT)
- Subject: objdump prints PE relocations with --private-headers, not --reloc
Hello!
There is an inconsistency in the way how objdump prints relocations.
Relocations for ELF of COFF files are printed by "objdump --reloc", but
relocations in PE files are printed by "objdump --private-headers". In
the later case the relocations are not grouped by sections they apply to.
In fact, I found that objdump can print relocations in PE files at all
only after checking the sources.
Is there any reason why PE relocations are treated differently? Is
anybody interested in the implementation consistent with other formats?
--
Regards,
Pavel Roskin