Ove Kaaven ovek@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().