Commit fda642d0 authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Don't output the relay table if no entry point needs it.

parent bdd55d08
......@@ -308,8 +308,7 @@ void output_exports( DLLSPEC *spec )
/* output relays */
/* we only support relay debugging on i386 and x86_64 */
if (target_cpu != CPU_x86 && target_cpu != CPU_x86_64)
if (!has_relays( spec ))
{
output( "\t%s 0\n", get_asm_ptr_keyword() );
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment