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/linker/linker.h b/linker/linker.h
index 7b1ba51..d29484c 100644
--- a/linker/linker.h
+++ b/linker/linker.h
@@ -121,14 +121,6 @@
Elf32_Rel *rel;
unsigned rel_count;
-#ifdef ANDROID_SH_LINKER
- Elf32_Rela *plt_rela;
- unsigned plt_rela_count;
-
- Elf32_Rela *rela;
- unsigned rela_count;
-#endif /* ANDROID_SH_LINKER */
-
unsigned *preinit_array;
unsigned preinit_array_count;
@@ -175,15 +167,7 @@
#define R_386_JUMP_SLOT 7
#define R_386_RELATIVE 8
-#elif defined(ANDROID_SH_LINKER)
-
-#define R_SH_DIR32 1
-#define R_SH_GLOB_DAT 163
-#define R_SH_JUMP_SLOT 164
-#define R_SH_RELATIVE 165
-
-#endif /* ANDROID_*_LINKER */
-
+#endif
#ifndef DT_INIT_ARRAY
#define DT_INIT_ARRAY 25
@@ -220,7 +204,7 @@
#ifdef ANDROID_ARM_LINKER
typedef long unsigned int *_Unwind_Ptr;
_Unwind_Ptr dl_unwind_find_exidx(_Unwind_Ptr pc, int *pcount);
-#elif defined(ANDROID_X86_LINKER) || defined(ANDROID_SH_LINKER)
+#elif defined(ANDROID_X86_LINKER)
int dl_iterate_phdr(int (*cb)(struct dl_phdr_info *, size_t, void *), void *);
#endif