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>
This commit is contained in:

committed by
David 'Digit' Turner

parent
e800444559
commit
70b1668a76
@@ -240,7 +240,6 @@ class SysCallsTxtParser:
|
||||
if number == "stub":
|
||||
syscall_id = -1
|
||||
syscall_id2 = -1
|
||||
syscall_id3 = -1
|
||||
else:
|
||||
try:
|
||||
if number[0] == '#':
|
||||
@@ -248,12 +247,8 @@ class SysCallsTxtParser:
|
||||
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 @@ class SysCallsTxtParser:
|
||||
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,
|
||||
|
Reference in New Issue
Block a user