summaryrefslogtreecommitdiff
path: root/libebl
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-10-17 22:30:37 +0200
committerMark Wielaard <mark@klomp.org>2020-10-26 22:44:07 +0100
commite14a5561f7ccb7cec598767d6660a21e8049a818 (patch)
treecdb88600bb03698c19a4549bc9882fd8e5f262a5 /libebl
parentc505ddf9b1965ede67295943154bf6a0295eab52 (diff)
downloadelfutils-e14a5561f7ccb7cec598767d6660a21e8049a818.tar.gz
backends: Remove tilegx backend.
Support for the Tilera TILE-Gx processor has been removed or deprecated in gcc and binutils already. There are no users and there is no way to test it. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libebl')
-rw-r--r--libebl/ChangeLog5
-rw-r--r--libebl/eblopenbackend.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog
index dbf4b3b7..863e4d55 100644
--- a/libebl/ChangeLog
+++ b/libebl/ChangeLog
@@ -1,5 +1,10 @@
2020-10-19 Mark Wielaard <mark@klomp.org>
+ * eblopenbackend.c (tilegx_init): Removed.
+ (machines): Set init to NULL for tilegx.
+
+2020-10-19 Mark Wielaard <mark@klomp.org>
+
* Makefile.am (libebl_a_SOURCES): Remove ebl_syscall_abi.c.
* ebl-hooks.h (syscall_abi): Remove.
* ebl_syscall_abi.c: Delete.
diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c
index 90a83f26..a8af1658 100644
--- a/libebl/eblopenbackend.c
+++ b/libebl/eblopenbackend.c
@@ -52,7 +52,6 @@ Ebl *sparc_init (Elf *, GElf_Half, Ebl *);
Ebl *ppc_init (Elf *, GElf_Half, Ebl *);
Ebl *ppc64_init (Elf *, GElf_Half, Ebl *);
Ebl *s390_init (Elf *, GElf_Half, Ebl *);
-Ebl *tilegx_init (Elf *, GElf_Half, Ebl *);
Ebl *m68k_init (Elf *, GElf_Half, Ebl *);
Ebl *bpf_init (Elf *, GElf_Half, Ebl *);
Ebl *riscv_init (Elf *, GElf_Half, Ebl *);
@@ -79,7 +78,6 @@ static const struct
{ x86_64_init, "elf_x86_64", "x86_64", 6, EM_X86_64, ELFCLASS64, ELFDATA2LSB },
{ ppc_init, "elf_ppc", "ppc", 3, EM_PPC, ELFCLASS32, ELFDATA2MSB },
{ ppc64_init, "elf_ppc64", "ppc64", 5, EM_PPC64, ELFCLASS64, ELFDATA2MSB },
- { tilegx_init, "elf_tilegx", "tilegx", 6, EM_TILEGX, ELFCLASS64, ELFDATA2LSB },
// XXX class and machine fields need to be filled in for all archs.
{ sh_init, "elf_sh", "sh", 2, EM_SH, 0, 0 },
{ arm_init, "ebl_arm", "arm", 3, EM_ARM, 0, 0 },
@@ -88,6 +86,7 @@ static const struct
{ sparc_init, "elf_sparcv8plus", "sparc", 5, EM_SPARC32PLUS, 0, 0 },
{ s390_init, "ebl_s390", "s390", 4, EM_S390, 0, 0 },
+ { NULL, "elf_tilegx", "tilegx", 6, EM_TILEGX, ELFCLASS64, ELFDATA2LSB },
{ NULL, "elf_m32", "m32", 3, EM_M32, 0, 0 },
{ m68k_init, "elf_m68k", "m68k", 4, EM_68K, ELFCLASS32, ELFDATA2MSB },
{ NULL, "elf_m88k", "m88k", 4, EM_88K, 0, 0 },