Module: wine Branch: master Commit: fda642d075d0888b199983bfd48e4e150a38fb14 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fda642d075d0888b199983bfd4...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Mar 4 14:07:49 2009 +0100
winebuild: Don't output the relay table if no entry point needs it.
---
tools/winebuild/spec32.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c index 24580d4..2e8cf12 100644 --- a/tools/winebuild/spec32.c +++ b/tools/winebuild/spec32.c @@ -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;