aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-16 15:19:41 +0930
committerAlan Modra <amodra@gmail.com>2018-04-16 15:19:52 +0930
commite82aa7944d2b00c54e9d3c1a47c5ed4a0e39393a (patch)
tree5d6f360d2a348726d6723f46407592d869f005f9 /ld
parentfe0bf0fd57ea3ef8458d2e8661b428110fc026e2 (diff)
downloadfsf-binutils-gdb-e82aa7944d2b00c54e9d3c1a47c5ed4a0e39393a.zip
fsf-binutils-gdb-e82aa7944d2b00c54e9d3c1a47c5ed4a0e39393a.tar.gz
fsf-binutils-gdb-e82aa7944d2b00c54e9d3c1a47c5ed4a0e39393a.tar.bz2
Remove h8500 support
include/ * coff/h8500.h: Delete. * coff/internal.h: Remove h8500 support. bfd/ * Makefile.am: Remove h8500 support. * archures.c: Likewise. * coffcode.h: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * targets.c: Likewise. * coff-h8500.c: Delete. * cpu-h8500.c: Delete. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. opcodes/ * Makefile.am: Remove h8500 support. * configure.ac: Likewise. * disassemble.c: Likewise. * disassemble.h: Likewise. * h8500-dis.c: Delete. * h8500-opc.h: Delete. * Makefile.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate. binutils/ * testsuite/binutils-all/objcopy.exp: Remove h8500 support. * testsuite/lib/binutils-common.exp: Likewise. gas/ * config/obj-coff.h: Remove h8500 support. ld/ * Makefile.am: Remove h8500 support. * configure.tgt: Likewise. * emulparams/h8500.sh: Delete. * emulparams/h8500b.sh: Delete. * emulparams/h8500c.sh: Delete. * emulparams/h8500m.sh: Delete. * emulparams/h8500s.sh: Delete. * scripttempl/h8500.sc: Delete. * scripttempl/h8500b.sc: Delete. * scripttempl/h8500c.sc: Delete. * scripttempl/h8500m.sc: Delete. * scripttempl/h8500s.sc: Delete. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog17
-rw-r--r--ld/Makefile.am20
-rw-r--r--ld/Makefile.in25
-rw-r--r--ld/configure.tgt4
-rw-r--r--ld/emulparams/h8500.sh5
-rw-r--r--ld/emulparams/h8500b.sh5
-rw-r--r--ld/emulparams/h8500c.sh5
-rw-r--r--ld/emulparams/h8500m.sh5
-rw-r--r--ld/emulparams/h8500s.sh5
-rw-r--r--ld/po/BLD-POTFILES.in5
-rw-r--r--ld/scripttempl/h8500.sc73
-rw-r--r--ld/scripttempl/h8500b.sc73
-rw-r--r--ld/scripttempl/h8500c.sc73
-rw-r--r--ld/scripttempl/h8500m.sc73
-rw-r--r--ld/scripttempl/h8500s.sc73
15 files changed, 17 insertions, 444 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a1b3ba2..d513ba7 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,22 @@
2018-04-16 Alan Modra <amodra@gmail.com>
+ * Makefile.am: Remove h8500 support.
+ * configure.tgt: Likewise.
+ * emulparams/h8500.sh: Delete.
+ * emulparams/h8500b.sh: Delete.
+ * emulparams/h8500c.sh: Delete.
+ * emulparams/h8500m.sh: Delete.
+ * emulparams/h8500s.sh: Delete.
+ * scripttempl/h8500.sc: Delete.
+ * scripttempl/h8500b.sc: Delete.
+ * scripttempl/h8500c.sc: Delete.
+ * scripttempl/h8500m.sc: Delete.
+ * scripttempl/h8500s.sc: Delete.
+ * Makefile.in: Regenerate.
+ * po/BLD-POTFILES.in: Regenerate.
+
+2018-04-16 Alan Modra <amodra@gmail.com>
+
* Makefile.am: Remove h8300-coff support.
* configure.tgt: Likewise.
* testsuite/ld-h8300/h8300.exp: Likewise.
diff --git a/ld/Makefile.am b/ld/Makefile.am
index b4aa709..15514f4 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -305,11 +305,6 @@ ALL_EMULATION_SOURCES = \
eh8300sxelf.c \
eh8300sxelf_linux.c \
eh8300sxnelf.c \
- eh8500.c \
- eh8500b.c \
- eh8500c.c \
- eh8500m.c \
- eh8500s.c \
ehp300bsd.c \
ehp3hpux.c \
ehppaelf.c \
@@ -1394,21 +1389,6 @@ eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
$(srcdir)/emulparams/h8300elf.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
-eh8500.c: $(srcdir)/emulparams/h8500.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
-
-eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
-
-eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
-
-eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
-
-eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
-
ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 8148ad0..e92a7b3 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -674,11 +674,6 @@ ALL_EMULATION_SOURCES = \
eh8300sxelf.c \
eh8300sxelf_linux.c \
eh8300sxnelf.c \
- eh8500.c \
- eh8500b.c \
- eh8500c.c \
- eh8500m.c \
- eh8500s.c \
ehp300bsd.c \
ehp3hpux.c \
ehppaelf.c \
@@ -1324,11 +1319,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxelf.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxelf_linux.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxnelf.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8500.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8500b.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8500c.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8500m.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8500s.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehp300bsd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehp3hpux.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppa64linux.Po@am__quote@
@@ -2941,21 +2931,6 @@ eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
$(srcdir)/emulparams/h8300elf.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
-eh8500.c: $(srcdir)/emulparams/h8500.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
-
-eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
-
-eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
-
-eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
-
-eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
-
ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 9cf4e78..53d5daf 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -224,10 +224,6 @@ h8300-*-elf* | h8300-*-rtems*)
h8300-*-linux*)
targ_emul=h8300elf_linux;
targ_extra_emuls="h8300helf_linux h8300self_linux h8300sxelf_linux" ;;
-h8500-*-hms* | h8500-*-coff* | h8500-*-rtems*)
- targ_emul=h8500
- targ_extra_emuls="h8500s h8500b h8500m h8500c"
- ;;
hppa*64*-*-linux-*) targ_emul=hppa64linux ;;
hppa*64*-hpux*) targ_emul=elf64hppa ;;
hppa*-*-linux-*) targ_emul=hppalinux ;;
diff --git a/ld/emulparams/h8500.sh b/ld/emulparams/h8500.sh
deleted file mode 100644
index 6f4ca80..0000000
--- a/ld/emulparams/h8500.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-SCRIPT_NAME=h8500
-OUTPUT_FORMAT="coff-h8500"
-TEXT_START_ADDR=0x8000
-TARGET_PAGE_SIZE=128
-ARCH=h8500
diff --git a/ld/emulparams/h8500b.sh b/ld/emulparams/h8500b.sh
deleted file mode 100644
index d2d3fee..0000000
--- a/ld/emulparams/h8500b.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-SCRIPT_NAME=h8500b
-OUTPUT_FORMAT="coff-h8500"
-TEXT_START_ADDR=0x8000
-TARGET_PAGE_SIZE=128
-ARCH=h8500
diff --git a/ld/emulparams/h8500c.sh b/ld/emulparams/h8500c.sh
deleted file mode 100644
index 240a065..0000000
--- a/ld/emulparams/h8500c.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-SCRIPT_NAME=h8500c
-OUTPUT_FORMAT="coff-h8500"
-TEXT_START_ADDR=0x8000
-TARGET_PAGE_SIZE=128
-ARCH=h8500
diff --git a/ld/emulparams/h8500m.sh b/ld/emulparams/h8500m.sh
deleted file mode 100644
index cd9f7b6..0000000
--- a/ld/emulparams/h8500m.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-SCRIPT_NAME=h8500m
-OUTPUT_FORMAT="coff-h8500"
-TEXT_START_ADDR=0x8000
-TARGET_PAGE_SIZE=128
-ARCH=h8500
diff --git a/ld/emulparams/h8500s.sh b/ld/emulparams/h8500s.sh
deleted file mode 100644
index b9e294a..0000000
--- a/ld/emulparams/h8500s.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-SCRIPT_NAME=h8500s
-OUTPUT_FORMAT="coff-h8500"
-TEXT_START_ADDR=0x8000
-TARGET_PAGE_SIZE=128
-ARCH=h8500
diff --git a/ld/po/BLD-POTFILES.in b/ld/po/BLD-POTFILES.in
index 30d340f..f70ef7e 100644
--- a/ld/po/BLD-POTFILES.in
+++ b/ld/po/BLD-POTFILES.in
@@ -219,11 +219,6 @@ eh8300snelf.c
eh8300sxelf.c
eh8300sxelf_linux.c
eh8300sxnelf.c
-eh8500.c
-eh8500b.c
-eh8500c.c
-eh8500m.c
-eh8500s.c
ehp300bsd.c
ehp3hpux.c
ehppa64linux.c
diff --git a/ld/scripttempl/h8500.sc b/ld/scripttempl/h8500.sc
deleted file mode 100644
index b052898..0000000
--- a/ld/scripttempl/h8500.sc
+++ /dev/null
@@ -1,73 +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.
-
-TORS="
- ___ctors = . ;
- *(.ctors)
- ___ctors_end = . ;
- ___dtors = . ;
- *(.dtors)
- ___dtors_end = . ;"
-
-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})
-
-/* Code and data 64k total */
-
-SECTIONS
-{
-.text ${RELOCATING+ 0x0000} :
- {
- *(.text)
- ${RELOCATING+ _etext = . ; }
- }
-
-.data ${RELOCATING+ . } :
- {
- *(.data)
- ${RELOCATING+ _edata = . ; }
- }
-
-.rdata ${RELOCATING+ . } :
- {
- *(.rdata);
- *(.strings)
-
- ${CONSTRUCTING+${TORS}}
- }
-
-.bss ${RELOCATING+ . } :
- {
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
- }
-
-.stack ${RELOCATING+ 0xfff0} :
- {
- ${RELOCATING+ _stack = . ; }
- *(.stack)
- }
-
-.stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
-
-.stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
-}
-EOF
diff --git a/ld/scripttempl/h8500b.sc b/ld/scripttempl/h8500b.sc
deleted file mode 100644
index 3b4f3a1a..0000000
--- a/ld/scripttempl/h8500b.sc
+++ /dev/null
@@ -1,73 +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.
-
-TORS="
- ___ctors = . ;
- *(.ctors)
- ___ctors_end = . ;
- ___dtors = . ;
- *(.dtors)
- ___dtors_end = . ;"
-
-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})
-
-/* Code and data, both larger than 64k */
-
-SECTIONS
-{
-.text ${RELOCATING+ 0x10000} :
- {
- *(.text)
- ${RELOCATING+ _etext = . ; }
- }
-
-.data ${RELOCATING+ 0x20000} :
- {
- *(.data)
- ${RELOCATING+ _edata = . ; }
- }
-
-.rdata ${RELOCATING+ 0x30000} :
- {
- *(.rdata);
- *(.strings)
-
- ${CONSTRUCTING+${TORS}}
- }
-
-.bss ${RELOCATING+ 0x40000} :
- {
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
- }
-
-.stack ${RELOCATING+ 0x50000} :
- {
- ${RELOCATING+ _stack = . ; }
- *(.stack)
- }
-
-.stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
-
-.stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
-}
-EOF
diff --git a/ld/scripttempl/h8500c.sc b/ld/scripttempl/h8500c.sc
deleted file mode 100644
index 09f7373..0000000
--- a/ld/scripttempl/h8500c.sc
+++ /dev/null
@@ -1,73 +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.
-
-TORS="
- ___ctors = . ;
- *(.ctors)
- ___ctors_end = . ;
- ___dtors = . ;
- *(.dtors)
- ___dtors_end = . ;"
-
-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})
-
-/* Compact model - code < 64k, data > 64k */
-
-SECTIONS
-{
-.text 0x10000 :
- {
- *(.text)
- *(.strings)
- ${RELOCATING+ _etext = . ; }
- } ${RELOCATING+ > ram}
-
-.data 0x20000 :
- {
- *(.data)
- ${RELOCATING+ _edata = . ; }
- } ${RELOCATING+ > ram}
-
-.rdata 0x30000 :
- {
- *(.rdata);
-
- ${CONSTRUCTING+${TORS}}
- } ${RELOCATING+ > ram}
-
-.bss 0x40000 :
- {
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
- } ${RELOCATING+ >ram}
-
-.stack 0x5fff0 :
- {
- ${RELOCATING+ _stack = . ; }
- *(.stack)
- } ${RELOCATING+ > topram}
-
-.stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
-
-.stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
-}
-EOF
diff --git a/ld/scripttempl/h8500m.sc b/ld/scripttempl/h8500m.sc
deleted file mode 100644
index 5cae654..0000000
--- a/ld/scripttempl/h8500m.sc
+++ /dev/null
@@ -1,73 +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.
-
-TORS="
- ___ctors = . ;
- *(.ctors)
- ___ctors_end = . ;
- ___dtors = . ;
- *(.dtors)
- ___dtors_end = . ;"
-
-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})
-
-/* Code and data, both larger than 64k */
-
-SECTIONS
-{
-.text ${RELOCATING+ 0x10000} :
- {
- *(.text)
- ${RELOCATING+ _etext = . ; }
- }
-
-.data ${RELOCATING+ 0x20000} :
- {
- *(.data)
- ${RELOCATING+ _edata = . ; }
- }
-
-.rdata ${RELOCATING+ . } :
- {
- *(.rdata);
- *(.strings)
-
- ${CONSTRUCTING+${TORS}}
- }
-
-.bss ${RELOCATING+ . } :
- {
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
- }
-
-.stack ${RELOCATING+ 0x2fff0} :
- {
- ${RELOCATING+ _stack = . ; }
- *(.stack)
- }
-
-.stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
-
-.stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
-}
-EOF
diff --git a/ld/scripttempl/h8500s.sc b/ld/scripttempl/h8500s.sc
deleted file mode 100644
index 9ad9642..0000000
--- a/ld/scripttempl/h8500s.sc
+++ /dev/null
@@ -1,73 +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.
-
-TORS="
- ___ctors = . ;
- *(.ctors)
- ___ctors_end = . ;
- ___dtors = . ;
- *(.dtors)
- ___dtors_end = . ;"
-
-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})
-
-/* Code and data, both 64k */
-
-SECTIONS
-{
-.text ${RELOCATING+ 0x10000} :
- {
- *(.text)
- ${RELOCATING+ _etext = . ; }
- }
-
-.rdata ${RELOCATING+ 0x20000} :
- {
- *(.rdata);
- *(.strings)
-
- ${CONSTRUCTING+${TORS}}
- }
-
-.data ${RELOCATING+ . } :
- {
- *(.data)
- ${RELOCATING+ _edata = . ; }
- }
-
-.bss ${RELOCATING+ .} :
- {
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
- }
-
-.stack ${RELOCATING+ 0x2fff0} :
- {
- ${RELOCATING+ _stack = . ; }
- *(.stack)
- }
-
-.stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
-
-.stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
-}
-EOF