aboutsummaryrefslogtreecommitdiffstats
path: root/libc/tools/bionic_utils.py
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2012-01-30 17:17:58 +0100
committerDavid 'Digit' Turner <digit@android.com>2012-01-31 20:28:23 +0100
commit70b1668a76d3b719ae690903ea790fda964a5458 (patch)
tree674232e6152fa67c0db8b07b0083bb3ac6c9bd8c /libc/tools/bionic_utils.py
parente80044455961005ac95e405c8d553f2418d8e50c (diff)
downloadandroid_bionic-70b1668a76d3b719ae690903ea790fda964a5458.tar.gz
android_bionic-70b1668a76d3b719ae690903ea790fda964a5458.tar.bz2
android_bionic-70b1668a76d3b719ae690903ea790fda964a5458.zip
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>
Diffstat (limited to 'libc/tools/bionic_utils.py')
-rw-r--r--libc/tools/bionic_utils.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/libc/tools/bionic_utils.py b/libc/tools/bionic_utils.py
index e7c8c2d98..0bc947b88 100644
--- a/libc/tools/bionic_utils.py
+++ b/libc/tools/bionic_utils.py
@@ -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,