Re: [Fwd: Bug#476232: winebuild fails to build for powerpc]
16 Apr
2008
16 Apr
'08
7:44 a.m.
Ove Kaaven <ovek(a)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(a)winehq.org
6456
Age (days ago)
6456
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard