summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog11
-rw-r--r--ld/Makefile.am4
-rw-r--r--ld/Makefile.in5
-rw-r--r--ld/configure.host5
-rw-r--r--ld/configure.tgt2
-rw-r--r--ld/emulparams/m88kbcs.sh5
-rw-r--r--ld/po/BLD-POTFILES.in1
-rw-r--r--ld/scripttempl/m88kbcs.sc62
-rw-r--r--ld/testsuite/ld-elf/sec-to-seg.exp1
9 files changed, 11 insertions, 85 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index fde757ccc62..91fb5152d38 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,16 @@
2018-04-16 Alan Modra <amodra@gmail.com>
+ * Makefile.am: Remove m88k support.
+ * configure.host: Likewise.
+ * configure.tgt: Likewise.
+ * testsuite/ld-elf/sec-to-seg.exp: Likewise.
+ * emulparams/m88kbcs.sh: Delete.
+ * scripttempl/m88kbcs.sc: Delete.
+ * Makefile.in: Regenerate.
+ * po/BLD-POTFILES.in: Regenerate.
+
+2018-04-16 Alan Modra <amodra@gmail.com>
+
* Makefile.am: Remove i370 support.
* configure.tgt: Likewise.
* testsuite/ld-elf/compressed1d.d: Likewise.
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 0a6e968a26d..39c84f4ad45 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -341,7 +341,6 @@ ALL_EMULATION_SOURCES = \
em68klinux.c \
em68knbsd.c \
em68kpsos.c \
- em88kbcs.c \
emcorepe.c \
emn10200.c \
emn10300.c \
@@ -1511,9 +1510,6 @@ em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
-em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
-
emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 5940945ed24..85d545c8f9e 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -710,7 +710,6 @@ ALL_EMULATION_SOURCES = \
em68klinux.c \
em68knbsd.c \
em68kpsos.c \
- em88kbcs.c \
emcorepe.c \
emn10200.c \
emn10300.c \
@@ -1356,7 +1355,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68klinux.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68knbsd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kpsos.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em88kbcs.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emcorepe.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emmo.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emn10200.Po@am__quote@
@@ -3052,9 +3050,6 @@ em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
-em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
-
emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
diff --git a/ld/configure.host b/ld/configure.host
index 1e128852d27..cebe36f088d 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -24,8 +24,3 @@
# HDEFINES host specific compiler flags
HDEFINES=
-
-case "${host}" in
- m88*-*-dgux*)
- HDEFINES=-D__using_DGUX ;;
-esac
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 546cd1a346e..50da17ac3fe 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -451,8 +451,6 @@ m68*-*-netbsdaout* | m68*-*-netbsd*)
targ_emul=m68knbsd
targ_extra_emuls="m68kelfnbsd m68k4knbsd" ;;
m68*-*-psos*) targ_emul=m68kpsos ;;
-m8*-*-*) targ_emul=m88kbcs
- ;;
mcore-*-pe) targ_emul=mcorepe ;
targ_extra_ofiles="deffilep.o pe-dll.o" ;;
mcore-*-elf) targ_emul=elf32mcore
diff --git a/ld/emulparams/m88kbcs.sh b/ld/emulparams/m88kbcs.sh
deleted file mode 100644
index d48a1eba950..00000000000
--- a/ld/emulparams/m88kbcs.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-SCRIPT_NAME=m88kbcs
-OUTPUT_FORMAT="coff-m88kbcs"
-TEXT_START_ADDR=0
-TARGET_PAGE_SIZE=128
-ARCH=m88k
diff --git a/ld/po/BLD-POTFILES.in b/ld/po/BLD-POTFILES.in
index ac4b42a2587..8c326ef96eb 100644
--- a/ld/po/BLD-POTFILES.in
+++ b/ld/po/BLD-POTFILES.in
@@ -257,7 +257,6 @@ em68kelfnbsd.c
em68klinux.c
em68knbsd.c
em68kpsos.c
-em88kbcs.c
emcorepe.c
emmo.c
emn10200.c
diff --git a/ld/scripttempl/m88kbcs.sc b/ld/scripttempl/m88kbcs.sc
deleted file mode 100644
index 1c716851220..00000000000
--- a/ld/scripttempl/m88kbcs.sc
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright (C) 2014-2018 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.
-
-# These are substituted in as variables in order to get '}' in a shell
-# conditional expansion.
-INIT='.init : { *(.init) }'
-FINI='.fini : { *(.fini) }'
-
-cat <<EOF
-/* Copyright (C) 2014-2018 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})
-${RELOCATING+ENTRY (__start)}
-${RELOCATING+${LIB_SEARCH_DIRS}}
-
-SECTIONS
-{
- .text ${RELOCATING+ (0x20007 + SIZEOF_HEADERS) &~ 7} :
- {
- ${RELOCATING+ __.text.start = .};
- ${RELOCATING+ __.init.start = .};
- ${RELOCATING+ *(.init)}
- ${RELOCATING+ __.init.end = .};
- *(.text)
- ${RELOCATING+ __.tdesc_start = .};
- ${RELOCATING+ *(.tdesc)}
- ${RELOCATING+ __.text_end = .} ;
- ${RELOCATING+ __.initp.start = .};
- ${RELOCATING+ __.initp.end = .};
- ${RELOCATING+ __.fini_start = .};
- ${RELOCATING+ *(.fini) }
- ${RELOCATING+ __.fini_end = .};
- ${RELOCATING+_etext = .};
- }
- .data ${RELOCATING+ NEXT (0x400000) + ((SIZEOF(.text) + ADDR(.text)) % 0x2000)} :
- {
- *(.data)
- ${RELOCATING+_edata = .};
- }
- .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
- {
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = .};
- ${RELOCATING+ __end = .};
- }
- ${RELOCATING- ${INIT}}
- ${RELOCATING- ${FINI}}
- .comment 0 ${RELOCATING+(NOLOAD)} :
- {
- *(.comment)
- }
-}
-EOF
diff --git a/ld/testsuite/ld-elf/sec-to-seg.exp b/ld/testsuite/ld-elf/sec-to-seg.exp
index becad1bfebb..6d90808fbf9 100644
--- a/ld/testsuite/ld-elf/sec-to-seg.exp
+++ b/ld/testsuite/ld-elf/sec-to-seg.exp
@@ -82,7 +82,6 @@ if { [istarget avr-*-*]
|| [istarget h8300-*-*]
|| [istarget ip2k-*-*]
|| [istarget m32r-*-*]
- || [istarget m88k-*-*]
|| [istarget moxie-*-*]
|| [istarget msp430-*-*]
|| [istarget mt-*-*]