aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-02-24 19:39:52 +0100
committerThomas Huth <thuth@redhat.com>2021-03-09 11:26:32 +0100
commit2cc1a90166b5baa7ae9d00baf7099254e1353485 (patch)
treeadcf57b0ba701b4f94494bb405d3c22606e15763 /linux-user/elfload.c
parent235c15fac50026b32b43431bd37a61a9e03d42da (diff)
Remove deprecated target tilegx
TILE-Gx was only implemented in linux-user mode, but support for this CPU was removed from the upstream Linux kernel in 2018, and it has also been dropped from glibc, so there is no new Linux development taking place with this architecture. For running the old binaries, users can simply use older versions of QEMU. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Acked-by: Richard Henderson <richard.henderson@linaro.org> Acked-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210224183952.80463-1-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r--linux-user/elfload.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index bab4237e90..140a971632 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -1387,29 +1387,6 @@ static inline void init_thread(struct target_pt_regs *regs, struct image_info *i
#endif /* TARGET_S390X */
-#ifdef TARGET_TILEGX
-
-/* 42 bits real used address, a half for user mode */
-#define ELF_START_MMAP (0x00000020000000000ULL)
-
-#define elf_check_arch(x) ((x) == EM_TILEGX)
-
-#define ELF_CLASS ELFCLASS64
-#define ELF_DATA ELFDATA2LSB
-#define ELF_ARCH EM_TILEGX
-
-static inline void init_thread(struct target_pt_regs *regs,
- struct image_info *infop)
-{
- regs->pc = infop->entry;
- regs->sp = infop->start_stack;
-
-}
-
-#define ELF_EXEC_PAGESIZE 65536 /* TILE-Gx page size is 64KB */
-
-#endif /* TARGET_TILEGX */
-
#ifdef TARGET_RISCV
#define ELF_START_MMAP 0x80000000