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)

Thanks,
Michael