aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-12-17 14:23:55 +1030
committerAlan Modra <amodra@gmail.com>2019-12-17 16:36:54 +1030
commit5b660084e26050d2e7f1fda06daec1e83311c188 (patch)
tree3cc8a64338afe4cb610c60c75a71e0e85e8d784c /ld/scripttempl
parent62e6599087efba193e0156d89ee65fb74fc99cb2 (diff)
downloadgdb-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/scripttempl')
-rw-r--r--ld/scripttempl/tic80coff.sc86
1 files changed, 0 insertions, 86 deletions
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