ppc: scripts for gesamt_ppc
authorBernhard Urban <lewurm@gmail.com>
Wed, 9 Jun 2010 21:25:25 +0000 (23:25 +0200)
committerBernhard Urban <lewurm@gmail.com>
Wed, 9 Jun 2010 21:25:25 +0000 (23:25 +0200)
gesamt_ppc/lewurm_08.0
scripts/callingconvention.c
scripts/callingconvention.o
scripts/modlvatest_gesamt_ppc.sh

index e899d23a1db9c3ec4df9dec95728969be7b06704..b21c2cb0b9a79dc0783de21cf5be4424fc86b9d9 100644 (file)
@@ -1,7 +1,6 @@
 method fo0(a b c d)
        var x := g();
-       /*return a-b-c-d-x; */
-       return b;
+       return a-b-c-d-x;
 end;
 method g()
        h();
index deb1db133bb9feac444dc10c18b5770f282c1f37..f9c3b1cefe89078baeff4ad5c67b2ff5f1e10909 100644 (file)
@@ -1,4 +1,4 @@
-/* gcc -c -fomit-frame-pointer -fno-defer-pop callingconvention.c */
+/* gcc -c callingconvention.c */
 
 #include <stdlib.h>
 
@@ -7,6 +7,7 @@ extern int call(void);
 #define CHECKNUM 0x1234567812345678
 long callchecking() 
 {
+  /* TODO */
   long ret;
   ret=call();
   return ret;
index d11cb57fd04c0711000265ea991e7daaca9c7c38..42839f6951e9d556e37d615c1b968800e8ffaef1 100644 (file)
Binary files a/scripts/callingconvention.o and b/scripts/callingconvention.o differ
index 456bc4bba1660e960d7557839b0685a62b614fd4..dd64ac07604d6982ccbcfa8050e0a3c581b9adbb 100755 (executable)
@@ -20,7 +20,7 @@ else
   cd ~/abgabe/$beispiel
   echo 'Teste "make clean"'
   make clean
-  /usr/ftp/pub/ubvl/test/cleantest
+  #/usr/ftp/pub/ubvl/test/cleantest
   echo 'Teste "make"'
   make
 fi