projects
/
testub10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ppc: testfaelle fuer ppc32 'portiert'
[testub10.git]
/
scripts
/
callingconvention.c
diff --git a/scripts/callingconvention.c
b/scripts/callingconvention.c
new file mode 100644
(file)
index 0000000..
deb1db1
--- /dev/null
+++ b/
scripts/callingconvention.c
@@ -0,0
+1,13
@@
+/* gcc -c -fomit-frame-pointer -fno-defer-pop callingconvention.c */
+
+#include <stdlib.h>
+
+extern int call(void);
+
+#define CHECKNUM 0x1234567812345678
+long callchecking()
+{
+ long ret;
+ ret=call();
+ return ret;
+}