[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: objdump -d broken for Win32 dlls
From: |
Nick Clifton |
Subject: |
Re: objdump -d broken for Win32 dlls |
Date: |
Mon, 18 Dec 2000 11:09:15 -0800 |
Hi Erik,
: prompt > objdump -V
: GNU objdump 2.10.1
: Copyright 1997, 98, 99, 2000 Free Software Foundation, Inc.
: This program is free software; you may redistribute it under the
: terms of
: the GNU General Public License. This program has absolutely no
: warranty.
: prompt > objdump -d /mnt/win32/proj/program.exe
: objdump: /mnt/win32/proj/program.exe: File format not recognized
I do not know if this will help, but with latest binutils sources,
available from the binutils CVS server on:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/?cvsroot=src
I get the following:
% objdump -V
GNU objdump 2.10.91
[snip]
% objdump -d SMSS.EXE
objdump: /home/nickc/tmp/SMSS.EXE: File format is ambiguous
objdump: Matching formats: efi-app-ia32 pei-i386
% objdump -d --target=pei-i386 SMSS.EXE
/home/nickc/tmp/SMSS.EXE: file format pei-i386
Disassembly of section .text:
02691000 <.text>:
2691000: 55 push %ebp
2691001: 33 c0 xor %eax,%eax
2691003: 8b ec mov %esp,%ebp
2691005: 81 ec 10 01 00 00 sub $0x110,%esp
[snip]
Cheers
Nick