relocations not showing in objdump 2.45

Jan Beulich jbeulich@suse.com
Tue Oct 7 11:45:23 GMT 2025


On 01.10.2025 17:43, Paul Edwards wrote:
> Not sure if I'm doing something wrong.
> 
> I have a Win64 exeuctable file mcc.exe at https://pdos.org/temp.zip
> 
> With objdump from binutils 2.45 built on Linux by
> targeting x86_64-mingw64, if I do:
> 
> objdump -x mcc.exe
> 
> I get all the headers, including a lot of relocations, all
> of which appear to be DIR64.
> 
> If I do:
> 
> objdump -r mcc.exe
> 
> it simply tells me that the file format is pei-x86-64
> 
> I was expecting to see all those DIR64 relocations.

Thing is that those "base relocations" aren't really deemed "relocations"
internally to objdump (and also libbfd) afaict.

Jan


More information about the Binutils mailing list