Module: wine Branch: master Commit: d1e277fb70ad512059db7a5fac39104388ea1fff URL: http://source.winehq.org/git/wine.git/?a=commit;h=d1e277fb70ad512059db7a5fac...
Author: Simon Richter Simon.Richter@hogyros.de Date: Sat May 31 10:49:49 2008 +0200
winebuild: Fix branch mnemonic on ppc.
---
tools/winebuild/spec32.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c index 32a8299..5038579 100644 --- a/tools/winebuild/spec32.c +++ b/tools/winebuild/spec32.c @@ -368,7 +368,18 @@ void BuildSpec32File( DLLSPEC *spec ) else { output( "\n\t.section ".init","ax"\n" ); - output( "\tjmp 1f\n" ); + switch(target_cpu) + { + case CPU_x86: + case CPU_x86_64: + case CPU_ALPHA: + case CPU_SPARC: + output( "\tjmp 1f\n" ); + break; + case CPU_POWERPC: + output( "\tb 1f\n" ); + break; + } output( "__wine_spec_pe_header:\n" ); output( "\t.skip %u\n", 65536 + page_size ); output( "1:\n" );