aboutsummaryrefslogtreecommitdiff
path: root/src/resume.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-12-19 16:48:20 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-12-19 16:48:20 -0500
commitcc6a3772f17e05fe79305b6aba6b4e3b3c91570b (patch)
treeef0934ddb3b6320c7a18939198ef2a0fee3acaf5 /src/resume.c
parent9967ab7111d4fa8948da5f09c2f2628570058121 (diff)
downloadseabios-hppa-cc6a3772f17e05fe79305b6aba6b4e3b3c91570b.zip
seabios-hppa-cc6a3772f17e05fe79305b6aba6b4e3b3c91570b.tar.gz
seabios-hppa-cc6a3772f17e05fe79305b6aba6b4e3b3c91570b.tar.bz2
Make sure to manually export s3_resume() for old buggy gcc versions.
Diffstat (limited to 'src/resume.c')
-rw-r--r--src/resume.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resume.c b/src/resume.c
index 0e27c1c..9db8cad 100644
--- a/src/resume.c
+++ b/src/resume.c
@@ -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");