2009/12/9 Richard W.M. Jones <rjones(a)redhat.com>:
On Tue, Dec 08, 2009 at 09:37:18AM -0600, Michael Cronenworth wrote:
> I'm attempting to generate a DLL and I think I stumbled upon an issue,
> or possibly I don't know how to use dlltool.
>
> $ i686-pc-mingw32-dlltool --export-all-symbols --output-def test.def
> libtest.dll
> I get all symbols in the expected format, eg:
> memcpy @ 248
>
> That's how I expect that command to work, however, this command:
> $ i686-pc-mingw32-dlltool --kill-at --export-all-symbols --output-def
> test.def libtest.dll
> I get all symbols exactly the same as before, eg:
> memcpy @ 248
> I expected:
> memcpy
>
> Is this a bug or am I doing something wrong? (using -k makes no difference)
I get the same results, and it looks like a bug to me.
This isn't a bug. What you see here is <symbol> space '@' space
<digit>. This is the typing of the ordinal used for the symbol and is
not the decoration.
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination