mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Remove tic80 support
This is one way of fixing ubsan bug reports, just delete the code. The assembler support was removed back in 2005 along with other non-BFD assemblers, but somehow the remainder of the port stayed in. bfd/ * coff-tic80.c: Delete file. * cpu-tic80.c: Delete file. * archures.c: Remove tic80 support. * coffcode.h: Likewise. * coffswap.h: Likewise. * targets.c: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * Makefile.am: Likewise. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * testsuite/binutils-all/objcopy.exp: Remove tic80 support. * testsuite/binutils-all/objdump.exp: Likewise. gas/ * doc/as.texi: Remove mention of tic80. include/ * coff/tic80.h: Delete file. * opcode/tic80.h: Delete file. ld/ * emulparams/tic80coff.sh: Delete file. * scripttempl/tic80coff.sc: Delete file. * configure.tgt: Remove tic80 support. * Makefile.am: Likewise. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate. opcodes/ * tic80-dis.c: Delete file. * tic80-opc.c: Delete file. * disassemble.c: Remove tic80 support. * disassemble.h: Likewise. * Makefile.am: Likewise. * configure.ac: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate.
This commit is contained in:
@ -2330,12 +2330,6 @@ coff_set_arch_mach_hook (bfd *abfd, void * filehdr)
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef TIC80_ARCH_MAGIC
|
||||
case TIC80_ARCH_MAGIC:
|
||||
arch = bfd_arch_tic80;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef MCOREMAGIC
|
||||
case MCOREMAGIC:
|
||||
arch = bfd_arch_mcore;
|
||||
@ -2715,12 +2709,6 @@ coff_set_flags (bfd * abfd,
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
#ifdef TIC80_ARCH_MAGIC
|
||||
case bfd_arch_tic80:
|
||||
*magicp = TIC80_ARCH_MAGIC;
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
#ifdef ARMMAGIC
|
||||
case bfd_arch_arm:
|
||||
#ifdef ARM_WINCE
|
||||
@ -2883,7 +2871,7 @@ sort_by_secaddr (const void * arg1, const void * arg2)
|
||||
/* Calculate the file position for each section. */
|
||||
|
||||
#define ALIGN_SECTIONS_IN_FILE
|
||||
#if defined(TIC80COFF) || defined(TICOFF)
|
||||
#ifdef TICOFF
|
||||
#undef ALIGN_SECTIONS_IN_FILE
|
||||
#endif
|
||||
|
||||
@ -3811,9 +3799,6 @@ coff_write_object_contents (bfd * abfd)
|
||||
but it doesn't hurt to set it internally. */
|
||||
internal_f.f_target_id = TI_TARGET_ID;
|
||||
#endif
|
||||
#ifdef TIC80_TARGET_ID
|
||||
internal_f.f_target_id = TIC80_TARGET_ID;
|
||||
#endif
|
||||
|
||||
/* FIXME, should do something about the other byte orders and
|
||||
architectures. */
|
||||
@ -3841,10 +3826,6 @@ coff_write_object_contents (bfd * abfd)
|
||||
internal_a.magic = TICOFF_AOUT_MAGIC;
|
||||
#define __A_MAGIC_SET__
|
||||
#endif
|
||||
#ifdef TIC80COFF
|
||||
internal_a.magic = TIC80_ARCH_MAGIC;
|
||||
#define __A_MAGIC_SET__
|
||||
#endif /* TIC80 */
|
||||
|
||||
#if defined(ARM)
|
||||
#define __A_MAGIC_SET__
|
||||
@ -4775,7 +4756,7 @@ coff_slurp_symbol_table (bfd * abfd)
|
||||
case C_ALIAS: /* Duplicate tag. */
|
||||
#endif
|
||||
/* New storage classes for TI COFF. */
|
||||
#if defined(TIC80COFF) || defined(TICOFF)
|
||||
#ifdef TICOFF
|
||||
case C_UEXT: /* Tentative external definition. */
|
||||
#endif
|
||||
case C_EXTLAB: /* External load time label. */
|
||||
|
Reference in New Issue
Block a user