http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49826
--- Comment #9 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2013-01-15 23:47:58 UTC --- > Hmm, can't reproduce what your issue is here actual. The issue is that --enable-stdcall-fixup only works with plain object files and does not work when a symbol is in a static library. > For -mrtd the default-calling convention is stdcall, > so to mark a symbol explicit with an stdcall-attribute > is somewhat a nop-expression. I want stdcall functions to have the @<n> decoration regardless of the stdcall-attribute, i.e. pre-GCC-4.7.0 behavior. > Nevertheless this bug is IMHO an extension and not a bug. Well, then I ask to add another option (perhaps called -mold-rtd or -mrtd-decorate or -mstdcall or something like that).