aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-06-27 11:11:46 +0200
committerJan Beulich <jbeulich@suse.com>2022-06-27 11:11:46 +0200
commitddd7bf3e2881aa339dc3ad4a36efc8ee3c3f7192 (patch)
tree5252bf3fabc71eeaf15f4d5334281f79b7f40f13 /binutils/readelf.c
parent2d1388e73c700f689b23d53b504e0991fe196596 (diff)
downloadgdb-ddd7bf3e2881aa339dc3ad4a36efc8ee3c3f7192.zip
gdb-ddd7bf3e2881aa339dc3ad4a36efc8ee3c3f7192.tar.gz
gdb-ddd7bf3e2881aa339dc3ad4a36efc8ee3c3f7192.tar.bz2
drop XC16x bits
Commit 04f096fb9e25 ("Move the xc16x target to the obsolete list") moved the architecture from the "obsolete but still available" to the "obsolete / support removed" list in config.bfd, making the architecture impossible to enable (except maybe via "enable everything" options"). Note that I didn't touch */po/*.po{,t} on the assumption that these would be updated by some (half)automatic means.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index fe0d27d..0f5977b 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -163,7 +163,6 @@
#include "elf/visium.h"
#include "elf/wasm32.h"
#include "elf/x86-64.h"
-#include "elf/xc16x.h"
#include "elf/xgate.h"
#include "elf/xstormy16.h"
#include "elf/xtensa.h"
@@ -1882,11 +1881,6 @@ dump_relocations (Filedata * filedata,
rtype = elf_metag_reloc_type (type);
break;
- case EM_XC16X:
- case EM_C166:
- rtype = elf_xc16x_reloc_type (type);
- break;
-
case EM_TI_C6000:
rtype = elf_tic6x_reloc_type (type);
break;
@@ -14343,9 +14337,6 @@ is_32bit_abs_reloc (Filedata * filedata, unsigned int reloc_type)
case EM_L1OM:
case EM_K1OM:
return reloc_type == 10; /* R_X86_64_32. */
- case EM_XC16X:
- case EM_C166:
- return reloc_type == 3; /* R_XC16C_ABS_32. */
case EM_XGATE:
return reloc_type == 4; /* R_XGATE_32. */
case EM_XSTORMY16:
@@ -14607,9 +14598,6 @@ is_16bit_abs_reloc (Filedata * filedata, unsigned int reloc_type)
return reloc_type == 2; /* R_C6000_ABS16. */
case EM_VISIUM:
return reloc_type == 2; /* R_VISIUM_16. */
- case EM_XC16X:
- case EM_C166:
- return reloc_type == 2; /* R_XC16C_ABS_16. */
case EM_XGATE:
return reloc_type == 3; /* R_XGATE_16. */
case EM_Z80:
@@ -14811,7 +14799,6 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type)
case EM_ARC_COMPACT2: /* R_ARC_NONE. */
case EM_ARC_COMPACT: /* R_ARC_NONE. */
case EM_ARM: /* R_ARM_NONE. */
- case EM_C166: /* R_XC16X_NONE. */
case EM_CRIS: /* R_CRIS_NONE. */
case EM_FT32: /* R_FT32_NONE. */
case EM_IA_64: /* R_IA64_NONE. */
@@ -14837,7 +14824,6 @@ is_none_reloc (Filedata * filedata, unsigned int reloc_type)
case EM_TILEPRO: /* R_TILEPRO_NONE. */
case EM_TI_C6000:/* R_C6000_NONE. */
case EM_X86_64: /* R_X86_64_NONE. */
- case EM_XC16X:
case EM_Z80: /* R_Z80_NONE. */
case EM_WEBASSEMBLY: /* R_WASM32_NONE. */
return reloc_type == 0;