projects
/
uebersetzerbau-ss10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
gesamt_arm64/callingconvention.c
@@ -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;
+}