winebuild: Fill the delay slot on Sparc

André Hentschel nerv at dawncrow.de
Thu Dec 1 16:56:00 CST 2011


---
 tools/winebuild/import.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index 8d9a7ab..250cc7a 100644
--- a/tools/winebuild/import.c
+++ b/tools/winebuild/import.c
@@ -1055,6 +1055,7 @@ static void output_delayed_import_thunks( const DLLSPEC *spec )
             case CPU_SPARC:
                 output( "\tset %d, %%g1\n", (idx << 16) | j );
                 output( "\tb,a %s\n", asm_name("__wine_delay_load_asm") );
+                output( "\tnop\n" );
                 break;
             case CPU_ARM:
                 output( "\tstmfd  SP!, {r0-r3}\n" );
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list