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/kernel/tools/defaults.py b/libc/kernel/tools/defaults.py
index 2bee4ec..aa68e7c 100644
--- a/libc/kernel/tools/defaults.py
+++ b/libc/kernel/tools/defaults.py
@@ -7,7 +7,7 @@
# the list of supported architectures
#
-kernel_archs = [ 'arm', 'x86', 'sh' ]
+kernel_archs = [ 'arm', 'x86' ]
# the list of include directories that belong to the kernel
# tree. used when looking for sources...
@@ -66,15 +66,6 @@
]
)
-kernel_known_sh_statics = set(
- [ "___arch__swab16", # asm-sh/byteorder.h
- "___arch__swab32", # asm-sh/byteorder.h
- "___arch__swab64", # asm-sh/byteorder.h
- "__FD_ZERO", # asm-sh/posix_types_32/64.h
- "__FD_SET", # asm-sh/posix_types_32/64.h
- ]
- )
-
kernel_known_generic_statics = set(
[ "__invalid_size_argument_for_IOC", # asm-generic/ioctl.h
"__cmsg_nxthdr", # linux/socket.h
@@ -90,7 +81,6 @@
kernel_known_statics = {
"arm" : kernel_known_arm_statics,
"x86" : kernel_known_x86_statics,
- "sh" : kernel_known_sh_statics
}
# this is a list of macros which we want to specifically exclude from