[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: objdump -d broken for Win32 dlls
From: |
Erik de Castro Lopo |
Subject: |
Re: objdump -d broken for Win32 dlls |
Date: |
Sun, 17 Dec 2000 23:49:04 GMT |
Philip Blundell wrote:
>
> >I'm using the latest binutils (2.10.1) and it seems that
> >objdump -d (and possibly other things) is broken for Win32
> >executables and dlls.
> >
> >It used to work for binutils-2.9 (I just checked) but has been
> >broken somewhere between that release and 2.10.1. Is there
> >anything I can help with to get this fixed?
>
> Can you be more specific about the breakage? Ideally we need a self contained
> testcase and instructions on how to make it go wrong.
That wasn't a very good bug report was it.
I'm running objdump on Linux with it configured and installed as
follows:
./configure --enable-shared --disable-static --enable-targets=all \
--enable-commonbfdlib --host=i686-pc-linux-gnu
make
make install
The following test case should be suffcient (use any win32 program or
dll):
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 had a preliminary look at it with ddd/gdb but it was a bit too
hairy for me to make immediate progress so I submitted a bug
report.
Thanks,
Erik
--
+-------------------------------------------------+
Erik de Castro Lopo address@hidden
+-------------------------------------------------+
"We reject kings, presidents, and voting. We believe in rough
consensus and running code." -- Dave Clark (IETF 1992)