diff options
author | H. Peter Anvin <hpa@zytor.com> | 2004-06-08 06:51:32 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2004-06-08 06:51:32 +0000 |
commit | 2b6ff890fe0e0e63e4f8ede3b0724d15ae587902 (patch) | |
tree | 3a52187c9f885cc9359beca1cde945cc8989234f | |
parent | 68f700808b35eb918ef15be89772e4af8a140afc (diff) | |
download | klibc-2b6ff890fe0e0e63e4f8ede3b0724d15ae587902.tar.gz |
Clean up whitespaceklibc-0.127
-rw-r--r-- | klibc/arch/arm/syscall.S | 3 | ||||
-rwxr-xr-x | klibc/arch/arm/sysstubs.pl | 31 |
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"; -} |