remove obsolete SuperH support
We don't have a toolchain anymore, we don't have working original
kernel headers, and nobody is maintaining this so there is really
no point in keeping this here. Details of the patch:
- removed code paths from Android.mk files related to the SuperH
architecture ("sh")
- removed libc/arch-sh, linker/arch-sh, libc/kernel/arch-sh
- simplified libc/SYSCALLS.TXT
- simplified the scripts in libc/tools/ and libc/kernel/tools
Change-Id: I26b0e1422bdc347489e4573e2fbec0e402f75560
Signed-off-by: David 'Digit' Turner <digit@android.com>
diff --git a/libc/tools/bionic_utils.py b/libc/tools/bionic_utils.py
index e7c8c2d..0bc947b 100644
--- a/libc/tools/bionic_utils.py
+++ b/libc/tools/bionic_utils.py
@@ -240,7 +240,6 @@
if number == "stub":
syscall_id = -1
syscall_id2 = -1
- syscall_id3 = -1
else:
try:
if number[0] == '#':
@@ -248,12 +247,8 @@
numbers = string.split(number,',')
syscall_id = int(numbers[0])
syscall_id2 = syscall_id
- syscall_id3 = syscall_id
if len(numbers) > 1:
syscall_id2 = int(numbers[1])
- syscall_id3 = syscall_id2
- if len(numbers) > 2:
- syscall_id3 = int(numbers[2])
except:
E("invalid syscall number in '%s'" % line)
return
@@ -261,13 +256,12 @@
global verbose
if verbose >= 2:
if call_id < 0:
- print "%s: %d,%d,%d" % (syscall_name, syscall_id, syscall_id2, syscall_id3)
+ print "%s: %d,%d" % (syscall_name, syscall_id, syscall_id2)
else:
- print "%s(%d): %d,%d,%d" % (syscall_name, call_id, syscall_id, syscall_id2, syscall_id3)
+ print "%s(%d): %d,%d" % (syscall_name, call_id, syscall_id, syscall_id2)
t = { "id" : syscall_id,
"id2" : syscall_id2,
- "id3" : syscall_id3,
"cid" : call_id,
"name" : syscall_name,
"func" : syscall_func,