scanner: remove linker dependency
[uebersetzerbau-ss10.git] / gesamt_arm64 / callingconvention.c
diff --git a/gesamt_arm64/callingconvention.c b/gesamt_arm64/callingconvention.c
new file mode 100644 (file)
index 0000000..ae1280d
--- /dev/null
@@ -0,0 +1,11 @@
+/* gcc -c -fomit-frame-pointer -fno-defer-pop callingconvetion.c */
+
+extern int call(void);
+
+long callchecking()
+{
+       long ret;
+       /* TODO: check calling conv */
+       ret = call();
+       return ret;
+}