winebuild: Fix branch mnemonic on ppc.

This commit is contained in:
Simon Richter 2008-05-31 10:49:49 +02:00 committed by Alexandre Julliard
parent aa821fdd7b
commit d1e277fb70
1 changed files with 12 additions and 1 deletions

View File

@ -368,7 +368,18 @@ void BuildSpec32File( DLLSPEC *spec )
else else
{ {
output( "\n\t.section \".init\",\"ax\"\n" ); 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( "__wine_spec_pe_header:\n" );
output( "\t.skip %u\n", 65536 + page_size ); output( "\t.skip %u\n", 65536 + page_size );
output( "1:\n" ); output( "1:\n" );