From d31634c82c3a5328527052ee3d660f1725bbdaff Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 9 Jun 2010 23:25:25 +0200 Subject: [PATCH] ppc: scripts for gesamt_ppc --- gesamt_ppc/lewurm_08.0 | 3 +-- scripts/callingconvention.c | 3 ++- scripts/callingconvention.o | Bin 892 -> 908 bytes scripts/modlvatest_gesamt_ppc.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gesamt_ppc/lewurm_08.0 b/gesamt_ppc/lewurm_08.0 index e899d23..b21c2cb 100644 --- a/gesamt_ppc/lewurm_08.0 +++ b/gesamt_ppc/lewurm_08.0 @@ -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(); diff --git a/scripts/callingconvention.c b/scripts/callingconvention.c index deb1db1..f9c3b1c 100644 --- a/scripts/callingconvention.c +++ b/scripts/callingconvention.c @@ -1,4 +1,4 @@ -/* gcc -c -fomit-frame-pointer -fno-defer-pop callingconvention.c */ +/* gcc -c callingconvention.c */ #include @@ -7,6 +7,7 @@ extern int call(void); #define CHECKNUM 0x1234567812345678 long callchecking() { + /* TODO */ long ret; ret=call(); return ret; diff --git a/scripts/callingconvention.o b/scripts/callingconvention.o index d11cb57fd04c0711000265ea991e7daaca9c7c38..42839f6951e9d556e37d615c1b968800e8ffaef1 100644 GIT binary patch delta 172 zcmeyv*26wQ$&Zl%3{1eJ1_L((#}vi?4{A7=mQ7$}P?`LYL8iu@yTXHkfw3k*x?+Mn z14jc8*Dy0zG$t}IG;lMp)Nn8_YkvLzPi zW297C;{~y$FFfE(F$e`lEz`$6OAYB1ub2I>P4Ks5E zkXEVTU|wdS$e=K>;5?(jWCuoN#)8QyjOvUjlY7AA7BG1SNH$MqVFHmlKyvEj5Foi? jat)I@E6`*H^~ndAL?-WHY6qI(!femU!@$7F1#$=gEz2X@ diff --git a/scripts/modlvatest_gesamt_ppc.sh b/scripts/modlvatest_gesamt_ppc.sh index 456bc4b..dd64ac0 100755 --- a/scripts/modlvatest_gesamt_ppc.sh +++ b/scripts/modlvatest_gesamt_ppc.sh @@ -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 -- 2.25.1