objdump prints PE relocations with --private-headers, not --reloc

Pavel Roskin proski@gnu.org
Thu Oct 23 04:10:00 GMT 2003


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



More information about the Binutils mailing list