aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-06-08 06:51:32 +0000
committerH. Peter Anvin <hpa@zytor.com>2004-06-08 06:51:32 +0000
commit2b6ff890fe0e0e63e4f8ede3b0724d15ae587902 (patch)
tree3a52187c9f885cc9359beca1cde945cc8989234f
parent68f700808b35eb918ef15be89772e4af8a140afc (diff)
downloadklibc-2b6ff890fe0e0e63e4f8ede3b0724d15ae587902.tar.gz
Clean up whitespaceklibc-0.127
-rw-r--r--klibc/arch/arm/syscall.S3
-rwxr-xr-xklibc/arch/arm/sysstubs.pl31
2 files changed, 0 insertions, 34 deletions
diff --git a/klibc/arch/arm/syscall.S b/klibc/arch/arm/syscall.S
index 97a05cf136f67..0e73f68ed09ad 100644
--- a/klibc/arch/arm/syscall.S
+++ b/klibc/arch/arm/syscall.S
@@ -48,6 +48,3 @@ __syscall_common:
.word errno
#endif
-
-
- \ No newline at end of file
diff --git a/klibc/arch/arm/sysstubs.pl b/klibc/arch/arm/sysstubs.pl
deleted file mode 100755
index e60694046d3fa..0000000000000
--- a/klibc/arch/arm/sysstubs.pl
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/perl
-#
-# Make ARM syscall stubs
-#
-
-$minsyscall = 1;
-$maxsyscall = 273;
-
-for ( $i = $minsyscall ; $i <= $maxsyscall ; $i++ ) {
- open(STUB, '>', "sysstub/sys${i}.S")
- or die "$0: Cannot create sysstub/sys${i}.S: $!\n";
- print STUB "\t.text\n";
- print STUB "\t.align\t4\n";
- print STUB "\t.globl\t__syscall${i}, #function\n";
- print STUB "#ifdef __thumb__\n";
- print STUB "\t.thumb_func\n";
- print STUB "#endif\n";
-
- print STUB "__syscall${i}:\n";
- print STUB "#ifndef __thumb__\n"; # ARM version first
- printf STUB "\tswi\t#%#x\n", $i+0x90000;
- print STUB "#else\n"; # Thumb version
- print STUB "\tpush\t{r7}\n";
- printf STUB "\tmov\tr7, #%d\n", $i;
- print STUB "\tswi\t0\n";
- print STUB "\tpop\t{r7}\n";
- print STUB "#endif\n";
- print STUB "\tb __syscall_common\n";
-
- print STUB "\t.size\t__syscall${i},.-__syscall${i}\n";
-}