Make sure to manually export s3_resume() for old buggy gcc versions.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 19 Dec 2008 21:48:20 +0000 (16:48 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 19 Dec 2008 21:48:20 +0000 (16:48 -0500)
src/resume.c

index 0e27c1c43e2985def4f6b8dbca6c138d9557cf52..9db8cad2e0b1e02a028c9b890233bf1ffd6d9d6e 100644 (file)
@@ -120,3 +120,7 @@ s3_resume()
     }
     call16big(&br);
 }
+
+// Ughh - some older gcc compilers have a bug which causes VISIBLE32
+// functions to not be exported as global variables.
+asm(".global s3_resume");