diff options
author | Alan Modra <amodra@gmail.com> | 2019-12-17 14:23:55 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-12-17 16:36:54 +1030 |
commit | 5b660084e26050d2e7f1fda06daec1e83311c188 (patch) | |
tree | 3cc8a64338afe4cb610c60c75a71e0e85e8d784c /ld | |
parent | 62e6599087efba193e0156d89ee65fb74fc99cb2 (diff) | |
download | gdb-5b660084e26050d2e7f1fda06daec1e83311c188.zip gdb-5b660084e26050d2e7f1fda06daec1e83311c188.tar.gz gdb-5b660084e26050d2e7f1fda06daec1e83311c188.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 9 | ||||
-rw-r--r-- | ld/Makefile.am | 2 | ||||
-rw-r--r-- | ld/Makefile.in | 3 | ||||
-rw-r--r-- | ld/configure.tgt | 3 | ||||
-rw-r--r-- | ld/emulparams/tic80coff.sh | 50 | ||||
-rw-r--r-- | ld/po/BLD-POTFILES.in | 1 | ||||
-rw-r--r-- | ld/scripttempl/tic80coff.sc | 86 |
7 files changed, 9 insertions, 145 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 4b7e746..f23d70b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,12 @@ +2019-12-17 Alan Modra <amodra@gmail.com> + + * 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. + 2019-12-12 H.J. Lu <hongjiu.lu@intel.com> * testsuite/ld-i386/align-branch-1.d: New file. diff --git a/ld/Makefile.am b/ld/Makefile.am index ddc7a78..cd2ff30 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -379,7 +379,6 @@ ALL_EMULATION_SOURCES = \ etic3xcoff_onchip.c \ etic4xcoff.c \ etic54xcoff.c \ - etic80coff.c \ ev850.c \ ev850_rh850.c \ evanilla.c \ @@ -869,7 +868,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS) @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic4xcoff.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic54xcoff.Pc@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic80coff.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850_rh850.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evanilla.Pc@am__quote@ diff --git a/ld/Makefile.in b/ld/Makefile.in index fdf0612..d27bafb 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -869,7 +869,6 @@ ALL_EMULATION_SOURCES = \ etic3xcoff_onchip.c \ etic4xcoff.c \ etic54xcoff.c \ - etic80coff.c \ ev850.c \ ev850_rh850.c \ evanilla.c \ @@ -1490,7 +1489,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic4xcoff.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic54xcoff.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic80coff.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850_rh850.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evanilla.Po@am__quote@ @@ -2475,7 +2473,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS) @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic4xcoff.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic54xcoff.Pc@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic80coff.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850_rh850.Pc@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evanilla.Pc@am__quote@ diff --git a/ld/configure.tgt b/ld/configure.tgt index c0c8a69..1e90d88 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -901,9 +901,6 @@ tic6x-*-uclinux) targ_emul=elf32_tic6x_linux_le targ_extra_emuls="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls ;; -tic80-*-*) targ_emul=tic80coff - targ_extra_ofiles= - ;; tilegx-*-*) targ_emul=elf64tilegx targ_extra_emuls="elf64tilegx_be elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls diff --git a/ld/emulparams/tic80coff.sh b/ld/emulparams/tic80coff.sh deleted file mode 100644 index 5fce934..0000000 --- a/ld/emulparams/tic80coff.sh +++ /dev/null @@ -1,50 +0,0 @@ -# This file is sourced by the genscripts.sh script. -# These are shell variables that are used later by either genscripts -# or on of the scripts that it sources. - -# The name of the scripttempl script to use. In this case, genscripts -# uses scripttempl/tic80coff.sc -# -SCRIPT_NAME=tic80coff - -# The name of the emultempl script to use. If set to "template" then -# genscripts.sh will use the script emultempl/template.em. If not set, -# then the default value is "generic". -# -# TEMPLATE_NAME= - -# If this is set to an nonempty string, genscripts.sh will invoke the -# scripttempl script an extra time to create a shared library script. -# -# GENERATE_SHLIB_SCRIPT= - -# The BFD output format to use. The scripttempl script will use it in -# an OUTPUT_FORMAT expression in the linker script. -# -OUTPUT_FORMAT="coff-tic80" - -# This is normally set to indicate the architecture to use, such as -# "sparc". The scripttempl script will normally use it in an OUTPUT_ARCH -# expression in the linker script. -# -ARCH=tic80 - -# Some scripttempl scripts use this to set the entry address in an ENTRY -# expression in the linker script. -# -# ENTRY= - -# The scripttempl script uses this to set the start address of the -# ".text" section. -# -TEXT_START_ADDR=0x2000000 - -# The genscripts.sh script uses this to set the default value of -# DATA_ALIGNMENT when running the scripttempl script. -# -# SEGMENT_SIZE= - -# If SEGMENT_SIZE is not defined, the genscripts.sh script uses this -# to define it. -# -TARGET_PAGE_SIZE=0x1000 diff --git a/ld/po/BLD-POTFILES.in b/ld/po/BLD-POTFILES.in index 846f2ab..d171bb9 100644 --- a/ld/po/BLD-POTFILES.in +++ b/ld/po/BLD-POTFILES.in @@ -292,7 +292,6 @@ etic3xcoff.c etic3xcoff_onchip.c etic4xcoff.c etic54xcoff.c -etic80coff.c ev850.c ev850_rh850.c evanilla.c diff --git a/ld/scripttempl/tic80coff.sc b/ld/scripttempl/tic80coff.sc deleted file mode 100644 index 692227a..0000000 --- a/ld/scripttempl/tic80coff.sc +++ /dev/null @@ -1,86 +0,0 @@ -# Linker script for TI TMS320C80 (tic80) COFF. -# -# Copyright (C) 2014-2019 Free Software Foundation, Inc. -# -# Copying and distribution of this file, with or without modification, -# are permitted in any medium without royalty provided the copyright -# notice and this notice are preserved. -# -# Besides the shell variables set by the emulparams script, and the LD_FLAG -# variable, the genscripts.sh script will set the following variables for each -# time this script is run to generate one of the linker scripts for ldscripts: -# -# RELOCATING: Set to a non-empty string when the linker is going to be doing -# a final relocation. -# -# CONSTRUCTING: Set to a non-empty string when the linker is going to be -# building global constructor and destructor tables. -# -# DATA_ALIGNMENT: Set to an ALIGN expression when the output should be page -# aligned, or to "." when generating the -N script. -# -# CREATE_SHLIB: Set to a non-empty string when generating a script for -# the -shared linker arg. - -test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x80000 + SIZEOF_HEADERS" -test -z "$ENTRY" && ENTRY=__start - -cat <<EOF -/* Copyright (C) 2014-2019 Free Software Foundation, Inc. - - Copying and distribution of this script, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. */ - -OUTPUT_FORMAT("${OUTPUT_FORMAT}") -${LIB_SEARCH_DIRS} - -${RELOCATING+ENTRY (${ENTRY})} - -SECTIONS -{ - .text ${RELOCATING+ $TEXT_START_ADDR} : { - ${RELOCATING+KEEP (*(SORT_NONE(.init))) - KEEP (*(SORT_NONE(.fini)))} - *(.text) - } - .const ALIGN(4) : { - *(.const) - } - .ctors ALIGN(4) : { - ${CONSTRUCTING+ . = ALIGN(4);} - ${CONSTRUCTING+ ___CTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG(-1)} - *(.ctors) - ${CONSTRUCTING+ ___CTOR_END__ = .;} - ${CONSTRUCTING+ LONG(0)} - } - .dtors ALIGN(4) : { - ${CONSTRUCTING+ ___DTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG(-1)} - ${CONSTRUCTING+ *(.dtors)} - ${CONSTRUCTING+ ___DTOR_END__ = .;} - ${CONSTRUCTING+ LONG(0)} - } - ${RELOCATING+ etext = .;} - .data : { - *(.data) - ${RELOCATING+ __edata = .}; - } - .bss : { - ${RELOCATING+ __bss_start = .}; - *(.bss) - *(COMMON) - ${RELOCATING+ _end = ALIGN(0x8)}; - ${RELOCATING+ __end = ALIGN(0x8)}; - } - .stab 0 ${RELOCATING+(NOLOAD)} : - { - [ .stab ] - } - .stabstr 0 ${RELOCATING+(NOLOAD)} : - { - [ .stabstr ] - } -} -EOF |