aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-16 12:13:05 +0930
committerAlan Modra <amodra@gmail.com>2020-06-16 15:57:59 +0930
commita435742a7fb32f6320ce0e6074e2500e28378104 (patch)
treeac7974c30b685a72bff1ca96d726144f97c0f264 /ld
parent9e790a80160676e7fd3fb8be6cf3c1c77d9ded81 (diff)
downloadgdb-a435742a7fb32f6320ce0e6074e2500e28378104.zip
gdb-a435742a7fb32f6320ce0e6074e2500e28378104.tar.gz
gdb-a435742a7fb32f6320ce0e6074e2500e28378104.tar.bz2
Really remove tic30-aout support
bfd/ * aout-tic30.c: Delete file. * Makefile.am (BFD32_BACKENDS): Remove aout-tic30.lo. (BFD32_BACKENDS_CFILES): Remove aout-tic30.c. * config.bfd (c30-*-*aout*, tic30-*-*aout*): Remove entry. (xc16x-*-elf): Sort properly. * configure.ac: Remove tic30_aout_vec. * targets.c: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. gas/ * config/tc-tic30.h: Remove OBJ_AOUT support. * configure.tgt: Delete tic30-*-*aout* entry. ld/ * emulparams/tic30aout.sh: Delete file. * scripttempl/tic30aout.sc: Delete file. * Makefile.am: Remove etic30aout.c from ALL_EMULATION_SOURCES and delete dependency. * configure.tgt: Delete tic30-*-*aout* entry. * testsuite/ld-scripts/sane1.d: Delete tic30-*-aout mention. * testsuite/ld-scripts/segment-start.d: Likewise. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog12
-rw-r--r--ld/Makefile.am2
-rw-r--r--ld/Makefile.in3
-rw-r--r--ld/configure.tgt3
-rw-r--r--ld/emulparams/tic30aout.sh7
-rw-r--r--ld/po/BLD-POTFILES.in1
-rw-r--r--ld/scripttempl/tic30aout.sc46
-rw-r--r--ld/testsuite/ld-scripts/sane1.d4
-rw-r--r--ld/testsuite/ld-scripts/segment-start.d2
9 files changed, 15 insertions, 65 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 73a99a0..7d19ced 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,15 @@
+2020-06-16 Alan Modra <amodra@gmail.com>
+
+ * emulparams/tic30aout.sh: Delete file.
+ * scripttempl/tic30aout.sc: Delete file.
+ * Makefile.am: Remove etic30aout.c from ALL_EMULATION_SOURCES and
+ delete dependency.
+ * configure.tgt: Delete tic30-*-*aout* entry.
+ * testsuite/ld-scripts/sane1.d: Delete tic30-*-aout mention.
+ * testsuite/ld-scripts/segment-start.d: Likewise.
+ * Makefile.in: Regenerate.
+ * po/BLD-POTFILES.in: Regenerate.
+
2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
* emultempl/xtensaelf.em (XSHAL_ABI): Remove macro definition.
diff --git a/ld/Makefile.am b/ld/Makefile.am
index e3ef686..ffff427 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -374,7 +374,6 @@ ALL_EMULATION_SOURCES = \
eshlelf_nto.c \
eshlelf_vxworks.c \
eshpe.c \
- etic30aout.c \
etic30coff.c \
etic3xcoff.c \
etic3xcoff_onchip.c \
@@ -864,7 +863,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_nto.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_vxworks.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshpe.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30aout.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30coff.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Pc@am__quote@
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 2376bfcd8..99b6658 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -864,7 +864,6 @@ ALL_EMULATION_SOURCES = \
eshlelf_nto.c \
eshlelf_vxworks.c \
eshpe.c \
- etic30aout.c \
etic30coff.c \
etic3xcoff.c \
etic3xcoff_onchip.c \
@@ -1485,7 +1484,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_nto.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_vxworks.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshpe.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30aout.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30coff.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Po@am__quote@
@@ -2470,7 +2468,6 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_nto.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_vxworks.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshpe.Pc@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30aout.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30coff.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff.Pc@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Pc@am__quote@
diff --git a/ld/configure.tgt b/ld/configure.tgt
index c166da8..950fa32 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -881,9 +881,6 @@ sparc*-*-*) targ_emul=elf32_sparc
;;
spu-*-elf*) targ_emul=elf32_spu
;;
-tic30-*-*aout*) targ_emul=tic30aout
- targ_extra_ofiles=
- ;;
tic30-*-*coff*) targ_emul=tic30coff
targ_extra_ofiles=
;;
diff --git a/ld/emulparams/tic30aout.sh b/ld/emulparams/tic30aout.sh
deleted file mode 100644
index 2a4c13f..0000000
--- a/ld/emulparams/tic30aout.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-SCRIPT_NAME=tic30aout
-OUTPUT_FORMAT="a.out-tic30"
-OUTPUT_ARCH="tms320c30"
-TEXT_START_ADDR=0x0
-TARGET_PAGE_SIZE=128
-ARCH=tms320c30
-BIG=1
diff --git a/ld/po/BLD-POTFILES.in b/ld/po/BLD-POTFILES.in
index 7c5f12e..699d84d 100644
--- a/ld/po/BLD-POTFILES.in
+++ b/ld/po/BLD-POTFILES.in
@@ -287,7 +287,6 @@ eshlelf_nbsd.c
eshlelf_nto.c
eshlelf_vxworks.c
eshpe.c
-etic30aout.c
etic30coff.c
etic3xcoff.c
etic3xcoff_onchip.c
diff --git a/ld/scripttempl/tic30aout.sc b/ld/scripttempl/tic30aout.sc
deleted file mode 100644
index f9c25c9..0000000
--- a/ld/scripttempl/tic30aout.sc
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright (C) 2014-2020 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.
-
-cat <<EOF
-/* Copyright (C) 2014-2020 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}")
-OUTPUT_ARCH(${ARCH})
-
-${STACKZERO+${RELOCATING+${STACKZERO}}}
-${RELOCATING+PROVIDE (__stack = 0);}
-SECTIONS
-{
- ${RELOCATING+. = ${TEXT_START_ADDR};}
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.text)
- ${RELOCATING+_etext = .;}
- ${RELOCATING+__etext = .;}
- ${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
- }
- ${RELOCATING+. = ${DATA_ALIGNMENT};}
- .data :
- {
- *(.data)
- ${RELOCATING+_edata = .;}
- ${RELOCATING+__edata = .;}
- }
- .bss :
- {
- ${RELOCATING+ __bss_start = .};
- *(.bss)
- *(COMMON)
- ${RELOCATING+_end = ALIGN(4) };
- ${RELOCATING+__end = ALIGN(4) };
- }
-}
-EOF
diff --git a/ld/testsuite/ld-scripts/sane1.d b/ld/testsuite/ld-scripts/sane1.d
index e39092e..66d6eac 100644
--- a/ld/testsuite/ld-scripts/sane1.d
+++ b/ld/testsuite/ld-scripts/sane1.d
@@ -1,9 +1,9 @@
# source: data.s
# ld: -T sane1.t
# nm: -B -n
-# notarget: mmix-* pdp11-* powerpc*-*-aix* rs6000-*-aix* tic30-*-aout
+# notarget: mmix-* pdp11-* powerpc*-*-aix* rs6000-*-aix*
# mmix symbol sections are wrong, pdp sign extends 16-bit addresses
-# rs6000-aix and tic30 don't like empty .text
+# rs6000-aix doesn't like empty .text
#...
0+0004 A s5
diff --git a/ld/testsuite/ld-scripts/segment-start.d b/ld/testsuite/ld-scripts/segment-start.d
index fde7661..eea87ff 100644
--- a/ld/testsuite/ld-scripts/segment-start.d
+++ b/ld/testsuite/ld-scripts/segment-start.d
@@ -3,7 +3,7 @@
#ld: -e 0 -u __executable_start -T segment-start.ld
#nm: -B
#xfail: mmix-*-* pdp11-*-* powerpc-*-aix* powerpc-*-beos* rs6000-*-* sh-*-pe
-#xfail: c30-*-*aout* tic30-*-*aout* c54x*-*-*coff* tic54x-*-*coff*
+#xfail: tic30-*-*aout* c54x*-*-*coff* tic54x-*-*coff*
# XFAIL targets that are not expected to handle SEGMENT_START correctly.
# Make sure `__executable_start' is regular: