[Fwd: Bug#476232: winebuild fails to build for powerpc]

Alexandre Julliard julliard at winehq.org
Wed Apr 16 07:44:39 CDT 2008


Ove Kaaven <ovek at arcticnet.no> writes:

> @@ -368,7 +368,7 @@ void BuildSpec32File( DLLSPEC *spec )
>      else
>      {
>          output( "\n\t.section \".init\",\"ax\"\n" );
> -        output( "\tjmp 1f\n" );
> +        output( "\t%s 1f\n", get_asm_branch_mnemonic() );
>          output( "__wine_spec_pe_header:\n" );
>          output( "\t.skip %u\n", 65536 + page_size );
>          output( "1:\n" );

I don't think it makes sense to add functions that return specific asm
mnemonics, there's no guarantee that all platforms would use a single
jump instruction here. You should add a switch the way it is done for
instance in output_asm_constructor().

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list