diff options
author | Alan Modra <amodra@gmail.com> | 2018-04-16 15:31:36 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-04-16 15:31:36 +0930 |
commit | dc12032bca08554cf0a72d224e44f755f7789ff3 (patch) | |
tree | 4366214b6cac7beb93cab44b1eb44868623e66a2 /ld | |
parent | 211dc24b8744ed14ee5c293e7ac164d02e1fa1fe (diff) | |
download | fsf-binutils-gdb-dc12032bca08554cf0a72d224e44f755f7789ff3.zip fsf-binutils-gdb-dc12032bca08554cf0a72d224e44f755f7789ff3.tar.gz fsf-binutils-gdb-dc12032bca08554cf0a72d224e44f755f7789ff3.tar.bz2 |
Remove m68k-aout and m68k-coff support
include/
* aout/host.h: Remove m68k-aout and m68k-coff support.
* aout/hp300hpux.h: Delete.
* coff/apollo.h: Delete.
* coff/aux-coff.h: Delete.
* coff/m68k.h: Delete.
bfd/
* Makefile.am: Remove m68k-aout and m68k-coff support.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bfd-in.h: Likewise.
* bfd.c: Likewise.
* coffcode.h: Likewise.
* coffswap.h: Likewise.
* config.bfd: Likewise.
* configure.ac: Likewise.
* configure.host: Likewise.
* doc/bfd.texinfo: Likewise.
* doc/bfdint.texi: Likewise.
* freebsd.h: Likewise.
* gen-aout.c: Likewise.
* hpux-core.c: Likewise.
* libaout.h: Likewise.
* libbfd-in.h: Likewise.
* pdp11.c: Likewise.
* peicode.h: Likewise.
* riscix.c: Likewise.
* targets.c: Likewise.
* aout0.c: Delete.
* coff-apollo.c: Delete.
* coff-aux.c: Delete.
* coff-m68k.c: Delete.
* coff-svm68k.c: Delete.
* coff-u68k.c: Delete.
* hosts/delta68.h: Delete.
* hosts/hp300bsd.h: Delete.
* hosts/m68kaux.h: Delete.
* hosts/news.h: Delete.
* hp300bsd.c: Delete.
* hp300hpux.c: Delete.
* liboasys.h: Delete.
* m68k4knetbsd.c: Delete.
* m68klinux.c: Delete.
* m68knetbsd.c: Delete.
* oasys.c: Delete.
* versados.c: Delete.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
binutils/
* testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
support.
* testsuite/binutils-all/copy-3.d: Likewise.
* testsuite/binutils-all/objcopy.exp: Likewise.
* testsuite/lib/binutils-common.exp: Likewise.
gas/
* Makefile.am: Remove m68k-aout and m68k-coff support.
* config/tc-m68k.c: Likewise.
* config/tc-m68k.h: Likewise.
* configure.ac: Likewise.
* configure.tgt: Likewise.
* testsuite/gas/all/weakref1u.d: Likewise.
* testsuite/gas/m68k/all.exp: Likewise.
* testsuite/gas/m68k/br-isaa.d: Likewise.
* testsuite/gas/m68k/br-isab.d: Likewise.
* testsuite/gas/m68k/br-isac.d: Likewise.
* config/te-psos.h: Delete.
* config/te-sun3.h: Delete.
* testsuite/gas/m68k-coff/gas.exp: Delete.
* testsuite/gas/m68k-coff/p2389.s: Delete.
* testsuite/gas/m68k-coff/p2389a.s: Delete.
* testsuite/gas/m68k-coff/p2430.s: Delete.
* testsuite/gas/m68k-coff/p2430a.s: Delete.
* testsuite/gas/m68k-coff/t1.s: Delete.
* testsuite/gas/m68k/p3041.d: Delete.
* testsuite/gas/m68k/p3041.s: Delete.
* testsuite/gas/m68k/p3041data.d: Delete.
* testsuite/gas/m68k/p3041data.s: Delete.
* testsuite/gas/m68k/p3041pcrel.d: Delete.
* testsuite/gas/m68k/p3041pcrel.s: Delete.
* testsuite/gas/m68k/t2.d: Delete.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
ld/
* Makefile.am: Remove m68k-aout and m68k-coff support.
* configure.tgt: Likewise.
* emultempl/m68kelf.em: Likewise.
* ld.texinfo: Likewise.
* mri.c: Likewise.
* emulparams/delta68.sh: Delete.
* emulparams/hp300bsd.sh: Delete.
* emulparams/hp3hpux.sh: Delete.
* emulparams/m68k4knbsd.sh: Delete.
* emulparams/m68kaout.sh: Delete.
* emulparams/m68kaux.sh: Delete.
* emulparams/m68kcoff.sh: Delete.
* emulparams/m68klinux.sh: Delete.
* emulparams/m68knbsd.sh: Delete.
* emulparams/m68kpsos.sh: Delete.
* emulparams/sun3.sh: Delete.
* emultempl/m68kcoff.em: Delete.
* scripttempl/delta68.sc: Delete.
* scripttempl/m68kaux.sc: Delete.
* scripttempl/m68kcoff.sc: Delete.
* scripttempl/psos.sc: Delete.
* testsuite/ld-versados/t1-1.ro: Delete.
* testsuite/ld-versados/t1-2.ro: Delete.
* testsuite/ld-versados/t1.ld: Delete.
* testsuite/ld-versados/t1.ook: Delete.
* testsuite/ld-versados/t2-1.ro: Delete.
* testsuite/ld-versados/t2-2.ro: Delete.
* testsuite/ld-versados/t2-3.ro: Delete.
* testsuite/ld-versados/t2.ld: Delete.
* testsuite/ld-versados/t2.ook: Delete.
* testsuite/ld-versados/versados.exp: Delete.
* Makefile.in: Regenerate.
* po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'ld')
34 files changed, 42 insertions, 1645 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 136c378..1c78450 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,41 @@ 2018-04-16 Alan Modra <amodra@gmail.com> + * Makefile.am: Remove m68k-aout and m68k-coff support. + * configure.tgt: Likewise. + * emultempl/m68kelf.em: Likewise. + * ld.texinfo: Likewise. + * mri.c: Likewise. + * emulparams/delta68.sh: Delete. + * emulparams/hp300bsd.sh: Delete. + * emulparams/hp3hpux.sh: Delete. + * emulparams/m68k4knbsd.sh: Delete. + * emulparams/m68kaout.sh: Delete. + * emulparams/m68kaux.sh: Delete. + * emulparams/m68kcoff.sh: Delete. + * emulparams/m68klinux.sh: Delete. + * emulparams/m68knbsd.sh: Delete. + * emulparams/m68kpsos.sh: Delete. + * emulparams/sun3.sh: Delete. + * emultempl/m68kcoff.em: Delete. + * scripttempl/delta68.sc: Delete. + * scripttempl/m68kaux.sc: Delete. + * scripttempl/m68kcoff.sc: Delete. + * scripttempl/psos.sc: Delete. + * testsuite/ld-versados/t1-1.ro: Delete. + * testsuite/ld-versados/t1-2.ro: Delete. + * testsuite/ld-versados/t1.ld: Delete. + * testsuite/ld-versados/t1.ook: Delete. + * testsuite/ld-versados/t2-1.ro: Delete. + * testsuite/ld-versados/t2-2.ro: Delete. + * testsuite/ld-versados/t2-3.ro: Delete. + * testsuite/ld-versados/t2.ld: Delete. + * testsuite/ld-versados/t2.ook: Delete. + * testsuite/ld-versados/versados.exp: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra <amodra@gmail.com> + * Makefile.am: Remove sh5 and sh64 support. * configure.tgt: Likewise. * ldlang.c: Likewise. diff --git a/ld/Makefile.am b/ld/Makefile.am index 848a736..09d93c3 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -217,7 +217,6 @@ ALL_EMULATION_SOURCES = \ ed30v_e.c \ ed30v_o.c \ ed30velf.c \ - edelta68.c \ eelf32_dlx.c \ eelf32_sparc.c \ eelf32_sparc_sol2.c \ @@ -304,8 +303,6 @@ ALL_EMULATION_SOURCES = \ eh8300sxelf.c \ eh8300sxelf_linux.c \ eh8300sxnelf.c \ - ehp300bsd.c \ - ehp3hpux.c \ ehppaelf.c \ ehppalinux.c \ ehppanbsd.c \ @@ -332,15 +329,8 @@ ALL_EMULATION_SOURCES = \ em68hc11elfb.c \ em68hc12elf.c \ em68hc12elfb.c \ - em68k4knbsd.c \ - em68kaout.c \ - em68kaux.c \ - em68kcoff.c \ em68kelf.c \ em68kelfnbsd.c \ - em68klinux.c \ - em68knbsd.c \ - em68kpsos.c \ emcorepe.c \ emn10200.c \ emn10300.c \ @@ -385,7 +375,6 @@ ALL_EMULATION_SOURCES = \ esparcaout.c \ esparclinux.c \ esparcnbsd.c \ - esun3.c \ esun4.c \ etic30aout.c \ etic30coff.c \ @@ -914,9 +903,6 @@ ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} -edelta68.c: $(srcdir)/emulparams/delta68.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} - eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS} @@ -1371,12 +1357,6 @@ eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \ $(srcdir)/emulparams/h8300elf.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} -ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \ $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} @@ -1467,18 +1447,6 @@ em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \ $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \ $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} -em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} - -em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ - $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} - em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} @@ -1488,15 +1456,6 @@ em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} -em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ - $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ - $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} - emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \ $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} @@ -1702,9 +1661,6 @@ esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} -esun3.c: $(srcdir)/emulparams/sun3.sh \ - $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - esun4.c: $(srcdir)/emulparams/sun4.sh \ $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} diff --git a/ld/Makefile.in b/ld/Makefile.in index 59d848d..0bad290 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -586,7 +586,6 @@ ALL_EMULATION_SOURCES = \ ed30v_e.c \ ed30v_o.c \ ed30velf.c \ - edelta68.c \ eelf32_dlx.c \ eelf32_sparc.c \ eelf32_sparc_sol2.c \ @@ -673,8 +672,6 @@ ALL_EMULATION_SOURCES = \ eh8300sxelf.c \ eh8300sxelf_linux.c \ eh8300sxnelf.c \ - ehp300bsd.c \ - ehp3hpux.c \ ehppaelf.c \ ehppalinux.c \ ehppanbsd.c \ @@ -701,15 +698,8 @@ ALL_EMULATION_SOURCES = \ em68hc11elfb.c \ em68hc12elf.c \ em68hc12elfb.c \ - em68k4knbsd.c \ - em68kaout.c \ - em68kaux.c \ - em68kcoff.c \ em68kelf.c \ em68kelfnbsd.c \ - em68klinux.c \ - em68knbsd.c \ - em68kpsos.c \ emcorepe.c \ emn10200.c \ emn10300.c \ @@ -754,7 +744,6 @@ ALL_EMULATION_SOURCES = \ esparcaout.c \ esparclinux.c \ esparcnbsd.c \ - esun3.c \ esun4.c \ etic30aout.c \ etic30coff.c \ @@ -1159,7 +1148,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30v_e.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30v_o.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30velf.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edelta68.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_dlx.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc_sol2.Po@am__quote@ @@ -1303,8 +1291,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)/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@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppaelf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppalinux.Po@am__quote@ @@ -1333,15 +1319,8 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc11elfb.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc12elf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc12elfb.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68k4knbsd.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kaout.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kaux.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kcoff.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kelf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kelfnbsd.Po@am__quote@ -@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)/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@ @@ -1388,7 +1367,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/esparcaout.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/esparclinux.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/esparcnbsd.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/esun3.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/esun4.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@ @@ -2441,9 +2419,6 @@ ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} -edelta68.c: $(srcdir)/emulparams/delta68.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} - eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS} @@ -2898,12 +2873,6 @@ eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \ $(srcdir)/emulparams/h8300elf.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} -ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \ $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} @@ -2994,18 +2963,6 @@ em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \ $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \ $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} -em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} - -em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ - $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} - em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} @@ -3015,15 +2972,6 @@ em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} -em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ - $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - -em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ - $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} - emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \ $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} @@ -3229,9 +3177,6 @@ esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} -esun3.c: $(srcdir)/emulparams/sun3.sh \ - $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - esun4.c: $(srcdir)/emulparams/sun4.sh \ $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} diff --git a/ld/configure.tgt b/ld/configure.tgt index 1322468..eb188be 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -424,33 +424,8 @@ m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;; m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;; -m68*-sun-sunos[34]*) targ_emul=sun3 ;; -m68*-wrs-vxworks*) targ_emul=sun3 ;; -m68*-ericsson-ose) targ_emul=sun3 ;; -m68*-apple-aux*) targ_emul=m68kaux ;; -m68k-hp-bsd*) targ_emul=hp300bsd ;; -m68*-motorola-sysv*) targ_emul=delta68 ;; -m68*-*-aout) targ_emul=m68kaout ;; -m68*-*-coff) targ_emul=m68kcoff ;; -m68*-*-elf | m68*-*-rtems*) - targ_emul=m68kelf ;; -m68*-*-hpux*) targ_emul=hp3hpux ;; -m68k-*-linux*aout*) targ_emul=m68klinux - targ_extra_emuls=m68kelf - tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'` ;; -m68k-*-linux-*) targ_emul=m68kelf - targ_extra_emuls=m68klinux - tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'` ;; -m68k-*-uclinux*) targ_emul=m68kelf ;; -m68*-*-gnu*) targ_emul=m68kelf ;; -m68*-*-netbsd*4k*) targ_emul=m68k4knbsd - targ_extra_emuls="m68knbsd m68kelfnbsd" ;; -m68*-*-netbsdelf*) targ_emul=m68kelfnbsd - targ_extra_emuls="m68knbsd m68k4knbsd" ;; -m68*-*-netbsdaout* | m68*-*-netbsd*) - targ_emul=m68knbsd - targ_extra_emuls="m68kelfnbsd m68k4knbsd" ;; -m68*-*-psos*) targ_emul=m68kpsos ;; +m68*-*-netbsdelf*) targ_emul=m68kelfnbsd ;; +m68*-*-*) targ_emul=m68kelf ;; mcore-*-pe) targ_emul=mcorepe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; mcore-*-elf) targ_emul=elf32mcore diff --git a/ld/emulparams/delta68.sh b/ld/emulparams/delta68.sh deleted file mode 100644 index e3c5909..0000000 --- a/ld/emulparams/delta68.sh +++ /dev/null @@ -1,5 +0,0 @@ -SCRIPT_NAME=delta68 -OUTPUT_FORMAT="coff-m68k-sysv" -TEXT_START_ADDR=0x2000 -PAGE_SIZE=0x1000000 -ARCH=m68k diff --git a/ld/emulparams/hp300bsd.sh b/ld/emulparams/hp300bsd.sh deleted file mode 100644 index 8f5c50b..0000000 --- a/ld/emulparams/hp300bsd.sh +++ /dev/null @@ -1,5 +0,0 @@ -SCRIPT_NAME=aout -OUTPUT_FORMAT="a.out-hp300bsd" -TEXT_START_ADDR=0 -TARGET_PAGE_SIZE=4096 -ARCH=m68k diff --git a/ld/emulparams/hp3hpux.sh b/ld/emulparams/hp3hpux.sh deleted file mode 100644 index b7badd8..0000000 --- a/ld/emulparams/hp3hpux.sh +++ /dev/null @@ -1,8 +0,0 @@ -SCRIPT_NAME=aout -OUTPUT_FORMAT="a.out-hp300hpux" -TEXT_START_ADDR=0 -TARGET_PAGE_SIZE=4096 -ARCH=m68k -STACKZERO="___stack_zero = 0x2000; __DYNAMIC = 0;" -# This is needed for HPUX 9.0; it is unnecessary but harmless for 8.0. -SHLIB_PATH="___dld_shlib_path = 0;" diff --git a/ld/emulparams/m68k4knbsd.sh b/ld/emulparams/m68k4knbsd.sh deleted file mode 100644 index d160264..0000000 --- a/ld/emulparams/m68k4knbsd.sh +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_NAME=aout -TEXT_START_ADDR=0x1020 -case ${LD_FLAG} in - n|N) TEXT_START_ADDR=0x1000 ;; -esac -OUTPUT_FORMAT="a.out-m68k4k-netbsd" -TARGET_PAGE_SIZE=0x1000 -ARCH=m68k -EXECUTABLE_SYMBOLS='__DYNAMIC = 0;' diff --git a/ld/emulparams/m68kaout.sh b/ld/emulparams/m68kaout.sh deleted file mode 100644 index 09e6c72..0000000 --- a/ld/emulparams/m68kaout.sh +++ /dev/null @@ -1,6 +0,0 @@ -SCRIPT_NAME=aout -OUTPUT_FORMAT="a.out-zero-big" -TEXT_START_ADDR=0x2020 -TARGET_PAGE_SIZE=0x2000 -SEGMENT_SIZE=0x20000 -ARCH=m68k diff --git a/ld/emulparams/m68kaux.sh b/ld/emulparams/m68kaux.sh deleted file mode 100644 index 19e86cc..0000000 --- a/ld/emulparams/m68kaux.sh +++ /dev/null @@ -1,8 +0,0 @@ -SCRIPT_NAME=m68kaux -OUTPUT_FORMAT="coff-m68k-aux" -SEGMENT_SIZE=0x40000 -TARGET_PAGE_SIZE=0x1000 -TEXT_START_ADDR="$SEGMENT_SIZE + SIZEOF_HEADERS" -NON_PAGED_TEXT_START_ADDR=SIZEOF_HEADERS -DATA_ALIGNMENT_="(. & (-$SEGMENT_SIZE | $TARGET_PAGE_SIZE-1)) + $SEGMENT_SIZE" -ARCH=m68k diff --git a/ld/emulparams/m68kcoff.sh b/ld/emulparams/m68kcoff.sh deleted file mode 100644 index bd884c9..0000000 --- a/ld/emulparams/m68kcoff.sh +++ /dev/null @@ -1,6 +0,0 @@ -SCRIPT_NAME=m68kcoff -OUTPUT_FORMAT="coff-m68k" -TEXT_START_ADDR=0x1000000 -TARGET_PAGE_SIZE=0x1000000 -ARCH=m68k -TEMPLATE_NAME=m68kcoff diff --git a/ld/emulparams/m68klinux.sh b/ld/emulparams/m68klinux.sh deleted file mode 100644 index 924fdbe..0000000 --- a/ld/emulparams/m68klinux.sh +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_NAME=aout -OUTPUT_FORMAT="a.out-m68k-linux" -TARGET_PAGE_SIZE=0x1000 -TEXT_START_ADDR=0x1020 -case ${LD_FLAG} in - n|N) TEXT_START_ADDR=0 ;; -esac -ARCH=m68k -TEMPLATE_NAME=linux diff --git a/ld/emulparams/m68knbsd.sh b/ld/emulparams/m68knbsd.sh deleted file mode 100644 index fcda407..0000000 --- a/ld/emulparams/m68knbsd.sh +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_NAME=aout -TEXT_START_ADDR=0x2020 -case ${LD_FLAG} in - n|N) TEXT_START_ADDR=0x2000 ;; -esac -OUTPUT_FORMAT="a.out-m68k-netbsd" -TARGET_PAGE_SIZE=0x2000 -ARCH=m68k -EXECUTABLE_SYMBOLS='__DYNAMIC = 0;' diff --git a/ld/emulparams/m68kpsos.sh b/ld/emulparams/m68kpsos.sh deleted file mode 100644 index 22d1598..0000000 --- a/ld/emulparams/m68kpsos.sh +++ /dev/null @@ -1,6 +0,0 @@ -SCRIPT_NAME=psos -OUTPUT_FORMAT="elf32-m68k" -TEXT_START_ADDR=0x20000 -MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" -ARCH=m68k -TEMPLATE_NAME=elf32 diff --git a/ld/emulparams/sun3.sh b/ld/emulparams/sun3.sh deleted file mode 100644 index 64c0c46..0000000 --- a/ld/emulparams/sun3.sh +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_NAME=aout -OUTPUT_FORMAT="a.out-sunos-big" -TEXT_START_ADDR=0x2020 -case ${LD_FLAG} in - n|N) TEXT_START_ADDR=0x2000 ;; -esac -TARGET_PAGE_SIZE=0x2000 -SEGMENT_SIZE=0x20000 -ARCH=m68k -TEMPLATE_NAME=sunos diff --git a/ld/emultempl/m68kcoff.em b/ld/emultempl/m68kcoff.em deleted file mode 100644 index 1e36f3f..0000000 --- a/ld/emultempl/m68kcoff.em +++ /dev/null @@ -1,247 +0,0 @@ -# This shell script emits a C file. -*- C -*- -# It does some substitutions. -fragment <<EOF -/* This file is is generated by a shell script. DO NOT EDIT! */ - -/* Handle embedded relocs for m68k. - Copyright (C) 2000-2018 Free Software Foundation, Inc. - Written by Michael Sokolov <msokolov@ivan.Harhan.ORG>, based on generic.em - by Steve Chamberlain <steve@cygnus.com>, embedded relocs code based on - mipsecoff.em by Ian Lance Taylor <ian@cygnus.com> (now removed). - - This file is part of the GNU Binutils. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, - MA 02110-1301, USA. */ - -#define TARGET_IS_${EMULATION_NAME} - -#include "sysdep.h" -#include "bfd.h" -#include "bfdlink.h" - -#include "ld.h" -#include "ldmain.h" -#include "ldexp.h" -#include "ldlang.h" -#include "ldfile.h" -#include "ldemul.h" -#include "ldmisc.h" - -static void check_sections (bfd *, asection *, void *); - -static void -gld${EMULATION_NAME}_before_parse (void) -{ -#ifndef TARGET_ /* I.e., if not generic. */ - ldfile_set_output_arch ("`echo ${ARCH}`", bfd_arch_unknown); -#endif /* not TARGET_ */ -} - -/* This function is run after all the input files have been opened. - We create a .emreloc section for each input file with a non zero - .data section. The BFD backend will fill in these sections with - magic numbers which can be used to relocate the data section at run - time. */ - -static void -gld${EMULATION_NAME}_after_open (void) -{ - bfd *abfd; - - after_open_default (); - - if (! command_line.embedded_relocs - || bfd_link_relocatable (&link_info)) - return; - - for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link.next) - { - asection *datasec; - - /* As first-order business, make sure that each input BFD is COFF. It - better be, as we are directly calling a COFF backend function. */ - if (bfd_get_flavour (abfd) != bfd_target_coff_flavour) - einfo (_("%F%P: %pB: all input objects must be COFF " - "for --embedded-relocs\n")); - - datasec = bfd_get_section_by_name (abfd, ".data"); - - /* Note that we assume that the reloc_count field has already - been set up. We could call bfd_get_reloc_upper_bound, but - that returns the size of a memory buffer rather than a reloc - count. We do not want to call bfd_canonicalize_reloc, - because although it would always work it would force us to - read in the relocs into BFD canonical form, which would waste - a significant amount of time and memory. */ - if (datasec != NULL && datasec->reloc_count > 0) - { - asection *relsec; - - relsec = bfd_make_section_with_flags (abfd, ".emreloc", - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY)); - if (relsec == NULL - || ! bfd_set_section_alignment (abfd, relsec, 2) - || ! bfd_set_section_size (abfd, relsec, - datasec->reloc_count * 12)) - einfo (_("%F%P: %pB: can not create .emreloc section: %E\n")); - } - - /* Double check that all other data sections are empty, as is - required for embedded PIC code. */ - bfd_map_over_sections (abfd, check_sections, datasec); - } -} - -/* Check that of the data sections, only the .data section has - relocs. This is called via bfd_map_over_sections. */ - -static void -check_sections (bfd *abfd, asection *sec, void *datasec) -{ - if ((bfd_get_section_flags (abfd, sec) & SEC_DATA) - && sec != datasec - && sec->reloc_count != 0) - einfo (_("%X%P: %pB: section %s has relocs; can not use --embedded-relocs\n"), - abfd, bfd_get_section_name (abfd, sec)); -} - -/* This function is called after the section sizes and offsets have - been set. If we are generating embedded relocs, it calls a special - BFD backend routine to do the work. */ - -static void -gld${EMULATION_NAME}_after_allocation (void) -{ - bfd *abfd; - - if (! command_line.embedded_relocs - || bfd_link_relocatable (&link_info)) - return; - - for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link.next) - { - asection *datasec, *relsec; - char *errmsg; - - datasec = bfd_get_section_by_name (abfd, ".data"); - - if (datasec == NULL || datasec->reloc_count == 0) - continue; - - relsec = bfd_get_section_by_name (abfd, ".emreloc"); - ASSERT (relsec != NULL); - - if (! bfd_m68k_coff_create_embedded_relocs (abfd, &link_info, - datasec, relsec, - &errmsg)) - { - if (errmsg == NULL) - einfo (_("%X%P: %pB: can not create runtime reloc information: %E\n"), - abfd); - else - einfo (_("%X%P: %pB: can not create runtime reloc information: %s\n"), - abfd, errmsg); - } - } -} - -static char * -gld${EMULATION_NAME}_get_script (int *isfile) -EOF - -if test x"$COMPILE_IN" = xyes -then -# Scripts compiled in. - -# sed commands to quote an ld script as a C string. -sc="-f stringify.sed" - -fragment <<EOF -{ - *isfile = 0; - - if (bfd_link_relocatable (&link_info) && config.build_constructors) - return -EOF -sed $sc ldscripts/${EMULATION_NAME}.xu >> e${EMULATION_NAME}.c -echo ' ; else if (bfd_link_relocatable (&link_info)) return' >> e${EMULATION_NAME}.c -sed $sc ldscripts/${EMULATION_NAME}.xr >> e${EMULATION_NAME}.c -echo ' ; else if (!config.text_read_only) return' >> e${EMULATION_NAME}.c -sed $sc ldscripts/${EMULATION_NAME}.xbn >> e${EMULATION_NAME}.c -echo ' ; else if (!config.magic_demand_paged) return' >> e${EMULATION_NAME}.c -sed $sc ldscripts/${EMULATION_NAME}.xn >> e${EMULATION_NAME}.c -echo ' ; else return' >> e${EMULATION_NAME}.c -sed $sc ldscripts/${EMULATION_NAME}.x >> e${EMULATION_NAME}.c -echo '; }' >> e${EMULATION_NAME}.c - -else -# Scripts read from the filesystem. - -fragment <<EOF -{ - *isfile = 1; - - if (bfd_link_relocatable (&link_info) && config.build_constructors) - return "ldscripts/${EMULATION_NAME}.xu"; - else if (bfd_link_relocatable (&link_info)) - return "ldscripts/${EMULATION_NAME}.xr"; - else if (!config.text_read_only) - return "ldscripts/${EMULATION_NAME}.xbn"; - else if (!config.magic_demand_paged) - return "ldscripts/${EMULATION_NAME}.xn"; - else - return "ldscripts/${EMULATION_NAME}.x"; -} -EOF - -fi - -fragment <<EOF - -struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = -{ - gld${EMULATION_NAME}_before_parse, - syslib_default, - hll_default, - after_parse_default, - after_check_relocs_default, - gld${EMULATION_NAME}_after_open, - gld${EMULATION_NAME}_after_allocation, - set_output_arch_default, - ldemul_default_target, - before_allocation_default, - gld${EMULATION_NAME}_get_script, - "${EMULATION_NAME}", - "${OUTPUT_FORMAT}", - finish_default, - NULL, /* create output section statements */ - NULL, /* open dynamic archive */ - NULL, /* place orphan */ - NULL, /* set symbols */ - NULL, /* parse args */ - NULL, /* add_options */ - NULL, /* handle_option */ - NULL, /* unrecognized file */ - NULL, /* list options */ - NULL, /* recognized file */ - NULL, /* find_potential_libraries */ - NULL, /* new_vers_pattern */ - NULL /* extra_map_file_text */ -}; -EOF diff --git a/ld/emultempl/m68kelf.em b/ld/emultempl/m68kelf.em index ea07002..9c4eabc 100644 --- a/ld/emultempl/m68kelf.em +++ b/ld/emultempl/m68kelf.em @@ -79,13 +79,8 @@ m68k_elf_after_open (void) { asection *datasec; - /* As first-order business, make sure that each input BFD is either - COFF or ELF. We need to call a special BFD backend function to - generate the embedded relocs, and we have such functions only for - COFF and ELF. */ - if (bfd_get_flavour (abfd) != bfd_target_coff_flavour - && bfd_get_flavour (abfd) != bfd_target_elf_flavour) - einfo (_("%F%P: %pB: all input objects must be COFF or ELF " + if (bfd_get_flavour (abfd) != bfd_target_elf_flavour) + einfo (_("%F%P: %pB: all input objects must be ELF " "for --embedded-relocs\n")); datasec = bfd_get_section_by_name (abfd, ".data"); @@ -167,23 +162,7 @@ m68k_elf_after_allocation (void) relsec = bfd_get_section_by_name (abfd, ".emreloc"); ASSERT (relsec != NULL); - if (bfd_get_flavour (abfd) == bfd_target_coff_flavour) - { - if (! bfd_m68k_coff_create_embedded_relocs (abfd, &link_info, - datasec, relsec, - &errmsg)) - { - if (errmsg == NULL) - einfo (_("%X%P: %pB: can not create " - "runtime reloc information: %E\n"), - abfd); - else - einfo (_("%X%P: %pB: can not create " - "runtime reloc information: %s\n"), - abfd, errmsg); - } - } - else if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) + if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) { if (! bfd_m68k_elf32_create_embedded_relocs (abfd, &link_info, datasec, relsec, diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 11193f8..9679afd 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -8602,16 +8602,7 @@ This command does nothing whatever; it's only accepted for compatibility. @cindex @code{FORMAT} (MRI) @item FORMAT @var{output-format} Similar to the @code{OUTPUT_FORMAT} command in the more general linker -language, but restricted to one of these output formats: - -@enumerate -@item -S-records, if @var{output-format} is @samp{S} - -@item -COFF (the @samp{coff-m68k} variant in BFD), if @var{output-format} is -@samp{COFF} -@end enumerate +language, but restricted to S-records, if @var{output-format} is @samp{S} @cindex @code{LIST} (MRI) @item LIST @var{anything}@dots{} @@ -285,9 +285,6 @@ mri_format (const char *name) if (strcmp (name, "S") == 0) lang_add_output_format ("srec", NULL, NULL, 1); - else if (strcmp (name, "COFF") == 0) - lang_add_output_format ("coff-m68k", NULL, NULL, 1); - else einfo (_("%F%P: unknown format type %s\n"), name); } diff --git a/ld/po/BLD-POTFILES.in b/ld/po/BLD-POTFILES.in index 8d12e43..f169882 100644 --- a/ld/po/BLD-POTFILES.in +++ b/ld/po/BLD-POTFILES.in @@ -74,7 +74,6 @@ ed10velf.c ed30v_e.c ed30v_o.c ed30velf.c -edelta68.c eelf32_dlx.c eelf32_sparc.c eelf32_sparc_sol2.c @@ -218,8 +217,6 @@ eh8300snelf.c eh8300sxelf.c eh8300sxelf_linux.c eh8300sxnelf.c -ehp300bsd.c -ehp3hpux.c ehppa64linux.c ehppaelf.c ehppalinux.c @@ -248,15 +245,8 @@ em68hc11elf.c em68hc11elfb.c em68hc12elf.c em68hc12elfb.c -em68k4knbsd.c -em68kaout.c -em68kaux.c -em68kcoff.c em68kelf.c em68kelfnbsd.c -em68klinux.c -em68knbsd.c -em68kpsos.c emcorepe.c emmo.c emn10200.c @@ -303,7 +293,6 @@ eshpe.c esparcaout.c esparclinux.c esparcnbsd.c -esun3.c esun4.c etic30aout.c etic30coff.c diff --git a/ld/scripttempl/delta68.sc b/ld/scripttempl/delta68.sc deleted file mode 100644 index db0406b..0000000 --- a/ld/scripttempl/delta68.sc +++ /dev/null @@ -1,61 +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. - -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+ 0x2000 + SIZEOF_HEADERS} : - { - ${RELOCATING+ __.text.start = .}; - *(.text) - ${RELOCATING+ etext = .;} - ${RELOCATING+ _etext = .;} - ${RELOCATING+ __.text.end = .}; - ${CONSTRUCTING+ __CTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)} - ${CONSTRUCTING+ *(.ctors)} - ${CONSTRUCTING+ LONG(0)} - ${CONSTRUCTING+ __CTOR_END__ = .;} - ${CONSTRUCTING+ __DTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)} - ${CONSTRUCTING+ *(.dtors)} - ${CONSTRUCTING+ LONG(0)} - ${CONSTRUCTING+ __DTOR_END__ = .;} - } - .data ${RELOCATING+ SIZEOF(.text) + ADDR(.text) + 0x400000} : - { - ${RELOCATING+ __.data.start = .}; - *(.data) - ${RELOCATING+ edata = .}; - ${RELOCATING+ _edata = .}; - ${RELOCATING+ __.data.end = .}; - } - .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : - { - ${RELOCATING+ __.bss.start = .}; - *(.bss) - *(COMMON) - ${RELOCATING+ __.bss.end = .}; - ${RELOCATING+ end = ALIGN(0x8)}; - ${RELOCATING+ _end = ALIGN(0x8)}; - } - .comment ${RELOCATING+ 0} : - { - *(.comment) - } -} -EOF diff --git a/ld/scripttempl/m68kaux.sc b/ld/scripttempl/m68kaux.sc deleted file mode 100644 index f4b43a1..0000000 --- a/ld/scripttempl/m68kaux.sc +++ /dev/null @@ -1,59 +0,0 @@ -# Linker script for A/UX. -# -# 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. - -test -z "$ENTRY" && ENTRY=_start -INIT='.init : { *(.init) }' -FINI='.fini : { *(.fini) }' -CTORS='.ctors : { *(.ctors) }' -DTORS='.dtors : { *(.dtors) }' - -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}") -${LIB_SEARCH_DIRS} - -${RELOCATING+ENTRY (${ENTRY})} - -SECTIONS -{ - .text ${RELOCATING+ $TEXT_START_ADDR} : { - ${RELOCATING+ *(.init)} - ${RELOCATING+ *(.fini)} - *(.text) - ${RELOCATING+ . = ALIGN(4);} - ${RELOCATING+ *(.ctors)} - ${RELOCATING+ *(.dtors)} - ${RELOCATING+ etext = .;} - ${RELOCATING+ _etext = .;} - } =0x4E714E71 - .data ${RELOCATING+ $DATA_ALIGNMENT} : { - *(.data) - ${RELOCATING+ edata = .;} - ${RELOCATING+ _edata = .;} - } - .bss : { - *(.bss) - *(COMMON) - ${RELOCATING+ end = .;} - ${RELOCATING+ _end = .;} - } - ${RELOCATING- ${INIT}} - ${RELOCATING- ${FINI}} - ${RELOCATING- ${CTORS}} - ${RELOCATING- ${DTORS}} - - .comment 0 ${RELOCATING+(NOLOAD)} : { [ .comment ] [ .ident ] } - .stab 0 ${RELOCATING+(NOLOAD)} : { [ .stab ] } - .stabstr 0 ${RELOCATING+(NOLOAD)} : { [ .stabstr ] } -} -EOF diff --git a/ld/scripttempl/m68kcoff.sc b/ld/scripttempl/m68kcoff.sc deleted file mode 100644 index f809426..0000000 --- a/ld/scripttempl/m68kcoff.sc +++ /dev/null @@ -1,54 +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. - -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}") -${LIB_SEARCH_DIRS} -PROVIDE (__stack = 0); -SECTIONS -{ - .text ${RELOCATING+ 0x1000000} : { - *(.text) - ${CONSTRUCTING+ . = ALIGN(4);} - ${RELOCATING+ etext = .;} - ${CONSTRUCTING+ __CTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)} - ${CONSTRUCTING+ *(.ctors)} - ${CONSTRUCTING+ LONG(0)} - ${CONSTRUCTING+ __CTOR_END__ = .;} - ${CONSTRUCTING+ __DTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)} - ${CONSTRUCTING+ *(.dtors)} - ${CONSTRUCTING+ LONG(0)} - ${CONSTRUCTING+ __DTOR_END__ = .;} - } - .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 diff --git a/ld/scripttempl/psos.sc b/ld/scripttempl/psos.sc deleted file mode 100644 index 8df6af7..0000000 --- a/ld/scripttempl/psos.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. - -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+${LIB_SEARCH_DIRS}} - -SECTIONS -{ - .text ${RELOCATING:-0} ${RELOCATING+${TEXT_START_ADDR}} : { - ${RELOCATING+ start = DEFINED(_START) ? _START : DEFINED(_start) ? _start : .;} - ${RELOCATING+ PROVIDE(__text = .);} - *(.text); - *(code); - *(const); - *(strings); - *(pSOS); - *(pROBE); - *(pNA); - *(pHILE); - *(pREPC); - *(pRPC); - ${CONSTRUCTING+ ___CTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)} - ${CONSTRUCTING+ *(.ctors)} - ${CONSTRUCTING+ LONG(0);} - ${CONSTRUCTING+ ___CTOR_END__ = .;} - ${CONSTRUCTING+ ___DTOR_LIST__ = .;} - ${CONSTRUCTING+ LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2);} - ${CONSTRUCTING+ *(.dtors);} - ${CONSTRUCTING+ LONG(0);} - ${CONSTRUCTING+ ___DTOR_END__ = .;} - ${RELOCATING+ PROVIDE(__etext = .);} - ${RELOCATING+ PROVIDE(_etext = .);} - } - .data ${RELOCATING:-0} : ${RELOCATING+ AT(ADDR(.text) + SIZEOF(.text))} { - ${RELOCATING+ PROVIDE(__data = .);} - *(.data); - *(vars); - ${RELOCATING+ PROVIDE(__edata = .);} - ${RELOCATING+ PROVIDE(_edata = .);} - } - .bss ${RELOCATING:-0} : - { - ${RELOCATING+ PROVIDE(__bss = .);} - *(.bss); - *(zerovars); - *(COMMON); - ${RELOCATING+ PROVIDE(__ebss = .);} - ${RELOCATING+ PROVIDE(__end = .);} - ${RELOCATING+ PROVIDE(_end = .);} - ${RELOCATING+ PROVIDE(_FreeMemStart = .);} - } - .stab 0 ${RELOCATING+(NOLOAD)} : - { - *(.stab); - } - .stabstr 0 ${RELOCATING+(NOLOAD)} : - { - *(.stabstr); - } -} -EOF diff --git a/ld/testsuite/ld-versados/t1-1.ro b/ld/testsuite/ld-versados/t1-1.ro Binary files differdeleted file mode 100644 index 1d70d80..0000000 --- a/ld/testsuite/ld-versados/t1-1.ro +++ /dev/null diff --git a/ld/testsuite/ld-versados/t1-2.ro b/ld/testsuite/ld-versados/t1-2.ro Binary files differdeleted file mode 100644 index 8d4dc59..0000000 --- a/ld/testsuite/ld-versados/t1-2.ro +++ /dev/null diff --git a/ld/testsuite/ld-versados/t1.ld b/ld/testsuite/ld-versados/t1.ld deleted file mode 100644 index 1a5c4e3..0000000 --- a/ld/testsuite/ld-versados/t1.ld +++ /dev/null @@ -1,281 +0,0 @@ -OUTPUT_FORMAT("srec") -SECTIONS -{ - - -.text 0 : { *("9") *("10") *("11") *("12") *("13") *("14") *("15") - *("7") *("8") *("0") *("1") *("2") *("3") *("4") } -.bss (NOLOAD) : { *("5") *("6") } - -.PAFI =0x00000050 ; -.PCHIO =0x000000D0 ; -.PCLO =0x00000054 ; -.PCVBSV =0x0000000E ; -.PCVTSU =0x00000012 ; -.PCVTSV =0x00000016 ; -.PCVTSVL =0x0000001A ; -.PCVTUS =0x0000001E ; -.PDIS =0x00000022 ; -.PDISL =0x00000026 ; -.PDVJ =0x0000002A ; -.PEIO =0x000000CC ; -.PEOF =0x00000058 ; -.PEOL =0x0000005C ; -.PEQUS =0x0000002E ; -.PEQUV =0x00000032 ; -.PEQUVL =0x00000036 ; -.PEQUW =0x000000DE ; -.PGCM =0x00000064 ; -.PGEQS =0x0000003A ; -.PGEQV =0x0000003E ; -.PGEQVL =0x00000042 ; -.PGET =0x00000060 ; -.PGRTS =0x00000046 ; -.PGRTV =0x0000004A ; -.PGRTVL =0x0000004E ; -.PIACT =0x0000006C ; -.PIFD =0x00000068 ; -.PINDS =0x00000052 ; -.PINDV =0x00000056 ; -.PINDVL =0x0000005A ; -.PINDW =0x000000D6 ; -.PLDCS =0x0000005E ; -.PLDCV =0x00000062 ; -.PLEQS =0x00000066 ; -.PLEQV =0x0000006A ; -.PLEQVL =0x0000006E ; -.PLESS =0x00000072 ; -.PLESV =0x00000076 ; -.PLESVL =0x0000007A ; -.PLODS =0x0000007E ; -.PLODV =0x00000082 ; -.PLODVL =0x00000086 ; -.PMODJ =0x0000008A ; -.PMOV =0x000000E2 ; -.PMPJ =0x0000008E ; -.PNEQS =0x00000092 ; -.PNEQV =0x00000096 ; -.PNEQVL =0x0000009A ; -.PNEQW =0x000000DA ; -.PPAGE =0x000000D4 ; -.PPEE =0x00000070 ; -.PPUT =0x00000074 ; -.PRDB =0x00000078 ; -.PRDC =0x0000007C ; -.PRDH =0x00000080 ; -.PRDI =0x00000084 ; -.PRDJ =0x00000088 ; -.PRDRS =0x000000C8 ; -.PRDS =0x0000008C ; -.PRDV =0x00000090 ; -.PRLN =0x00000094 ; -.PRRAN =0x00000098 ; -.PRST =0x0000009C ; -.PRWT =0x000000A0 ; -.PSCON =0x0000009E ; -.PSCOP =0x000000A2 ; -.PSDEL =0x000000A6 ; -.PSINS =0x000000AA ; -.PSLEN =0x000000AE ; -.PSPOS =0x000000B2 ; -.PSTCV =0x000000B6 ; -.PSTCVL =0x000000BA ; -.PSTOS =0x000000BE ; -.PSTOV =0x000000C2 ; -.PSTOVL =0x000000C6 ; -.PSTRS =0x000000CA ; -.PSTRV =0x000000CE ; -.PSTRVL =0x000000D2 ; -.PWLN =0x000000A4 ; -.PWRAN =0x000000A8 ; -.PWRB =0x000000AC ; -.PWRC =0x000000B0 ; -.PWRH =0x000000B4 ; -.PWRI =0x000000B8 ; -.PWRJ =0x000000BC ; -.PWRS =0x000000C0 ; -.PWRV =0x000000C4 ; - -/* -.PAFI=0x = 0x00; -.PCHIO =0x 0x000000; -.PCLO =0x 64 ; -.PC; -.PCVTSU =0x 0x000000; -.PCVTSV =0x 0x000000; -.PCVTSVL =0x 0x000000; -.PCVTUS =0x 158 ; -.P; -.PDISL =0x 0x000000; -.PDVJ =0x 0x000000; -.PEIO =0x 0x000000; -.PEOF =0x 0x000000; -.PEOL =0x 0x000000; -.PEQUS =0x 0x000000; -.PEQUV =0x 0x000000; -.PEQUVL =0x 0x000000; -.PEQUW =0x 0x000000; -.PGCM =0x 0x000000; -.PGEQS =0x 0x000000; -.PGEQV =0x 0x000000; -.PGEQVL =0x 0x000000; -.PGET =0x 0x000000; -.PGRTS =0x 0x000000; -.PGRTV =0x 0x000000; -.PGRTVL =0x 0x000000; -.PIACT =0x 0x000000; -.PIFD =0x 126 ; -.P; -.PINDV =0x 0x000000; -.PINDVL =0x 0x000000; -.PINDW =0x 0x000000; -.PLDCS =0x 0x000000; -.PLDCV =0x 0x000000; -.PLEQS =0x 0x000000; -.PLEQV =0x 0x000000; -.PLEQVL =0x 0x000000; -.PLESS =0x 0x000000; -.PLESV =0x 0x000000; -.PLESVL =0x 0x000000; -.PLODS =0x 0x000000; -.PLODV =0x 0x000000; -.PLODVL =0x 0x000000; -.PMODJ =0x 0x000000; -.PMOV =0x 0x000000; -.PMPJ =0x 0x000000; -.PNEQS =0x 0x000000; -.PNEQV =0x 0x000000; -.PNEQVL =0x 0x000000; -.PNEQW =0x 0x000000; -.PPAGE =0x 0x000000; -.PPEE =0x 0x000000; -.PPUT =0x 0x000000; -.PRDB =0x 0x000000; -.PRDC =0x 0x000000; -.PRDH =0x 0x000000; -.PRDI =0x 0x000000; -.PRDJ =0x 0x000000; -.PRDRS =0x 0x000000; -.PRDS =0x 0x000000; -.PRDV =0x 0x000000; -.PRLN =0x 0x000000; -.PRRAN =0x 0x000000; -.PRST =0x 0x000000; -.PRWT =0x 0x000000; -.PSCON =0x 0x000000; -.PSCOP =0x 0x000000; -.PSDEL =0x 0x000000; -.PSINS =0x 0x000000; -.PSLEN =0x 0x000000; -.PSPOS =0x 0x000000; -.PSTCV =0x 0x000000; -.PSTCVL =0x 0x000000; -.PSTOS =0x 0x000000; -.PSTOV =0x 0x000000; -.PSTOVL =0x 0x000000; -.PSTRS =0x 0x000000; -.PSTRV =0x 0x000000; -.PSTRVL =0x 0x000000; -.PWLN =0x 0x000000; -.PWRAN =0x 0x000000; -.PWRB =0x 0x000000; -.PWRC =0x 0x000000; -.PWRH =0x 0x000000; -.PWRI =0x 0x000000; -.PWRJ =0x 0x000000; -.PWRS =0x 0x000000; -.PWRV =0x 0x000000; - -*/ -/* -.P=0x = 0; -.PCHIO =0x 0xfeedfa; -.PCLO =0x 0xfeedfa; -.PCVBSV =0x 0xfeedfa; -.PCVTSU =0x 0xfeedfa; -.PCVTSV =0x 0xfeedfa; -.PCVTSVL =0x 0xfeedfa; -.PCVTUS =0x 0xfeedfa; -.PDIS =0x 0xfeedfa; -.PDISL =0x 0xfeedfa; -.PDVJ =0x 0xfeedfa; -.PEIO =0x 0xfeedfa; -.PEOF =0x 0xfeedfa; -.PEOL =0x 0xfeedfa; -.PEQUS =0x 0xfeedfa; -.PEQUV =0x 0xfeedfa; -.PEQUVL =0x 0xfeedfa; -.PEQUW =0x 0xfeedfa; -.PGCM =0x 0xfeedfa; -.PGEQS =0x 0xfeedfa; -.PGEQV =0x 0xfeedfa; -.PGEQVL =0x 0xfeedfa; -.PGET =0x 0xfeedfa; -.PGRTS =0x 0xfeedfa; -.PGRTV =0x 0xfeedfa; -.PGRTVL =0x 0xfeedfa; -.PIACT =0x 0xfeedfa; -.PIFD =0x 0xfeedfa; -.PINDS =0x 0xfeedfa; -.PINDV =0x 0xfeedfa; -.PINDVL =0x 0xfeedfa; -.PINDW =0x 0xfeedfa; -.PLDCS =0x 0xfeedfa; -.PLDCV =0x 0xfeedfa; -.PLEQS =0x 0xfeedfa; -.PLEQV =0x 0xfeedfa; -.PLEQVL =0x 0xfeedfa; -.PLESS =0x 0xfeedfa; -.PLESV =0x 0xfeedfa; -.PLESVL =0x 0xfeedfa; -.PLODS =0x 0xfeedfa; -.PLODV =0x 0xfeedfa; -.PLODVL =0x 0xfeedfa; -.PMODJ =0x 0xfeedfa; -.PMOV =0x 0xfeedfa; -.PMPJ =0x 0xfeedfa; -.PNEQS =0x 0xfeedfa; -.PNEQV =0x 0xfeedfa; -.PNEQVL = 0xfeedface; -.PNEQW = 0xfeedface; -.PPAGE = 0xfeedface; -.PPEE = 0xfeedface; -.PPUT = 0xfeedface; -.PRDB = 0xfeedface; -.PRDC = 0xfeedface; -.PRDH = 0xfeedface; -.PRDI = 0xfeedface; -.PRDJ = 0xfeedface; -.PRDRS = 0xfeedface; -.PRDS = 0xfeedface; -.PRDV = 0xfeedface; -.PRLN = 0xfeedface; -.PRRAN = 0xfeedface; -.PRST = 0xfeedface; -.PRWT = 0xfeedface; -.PSCON = 0xfeedface; -.PSCOP = 0xfeedface; -.PSDEL = 0xfeedface; -.PSINS = 0xfeedface; -.PSLEN = 0xfeedface; -.PSPOS = 0xfeedface; -.PSTCV = 0xfeedface; -.PSTCVL = 0xfeedface; -.PSTOS = 0xfeedface; -.PSTOV = 0xfeedface; -.PSTOVL = 0xfeedface; -.PSTRS = 0xfeedface; -.PSTRV = 0xfeedface; -.PSTRVL = 0xfeedface; -.PWLN = 0xfeedface; -.PWRAN = 0xfeedface; -.PWRB = 0xfeedface; -.PWRC = 0xfeedface; -.PWRH = 0xfeedface; -.PWRI = 0xfeedface; -.PWRJ = 0xfeedface; -.PWRS = 0xfeedface; -.PWRV = 0xfeedface; -*/ - -} diff --git a/ld/testsuite/ld-versados/t1.ook b/ld/testsuite/ld-versados/t1.ook deleted file mode 100644 index 3984b94..0000000 --- a/ld/testsuite/ld-versados/t1.ook +++ /dev/null @@ -1,133 +0,0 @@ -S00C000074312E6F75742E6F6BC0
-S118000000000A205341464553544F52452041202020202052BE
-S118001531332E33202020202020205231332E32202020202077
-S118002A202000B5E86600B5E9B11DA15B9900001F0000000A50
-S118003F640000003E0000005C00A800BA00F000040001000251
-S1180054000000000000000000000006004031CF52544C4942D0
-S1180069434F4E0004E5EC52544C4942434F4E0004E5ED5254F0
-S118007E4C4942434F4E004031D252544C4942434F4E00000A08
-S11800937D52544C49425354520010A4A852544C494246494CAD
-S11800A8000200B5E86D0000016000B5E873000002540002006A
-S11800BDB5E937534146455052494E5420000006000200080079
-S11800D20000034200B5E86E494E4954534146455354000002C9
-S11800E71800000E00000009020030000000004E56FFD8BA8FDB
-S11800FC63062E4E6100001641FA003243EEFFD8702612D85149
-S1180111C8FFFC4E5E4E752B57FFF22F3C0000000A6000000259
-S11801263B6F0002FFF62F2D00382F2D00344E4C4E4A434F50E7
-S118013B5952494748542054656C65666F6E204142204C204D6B
-S1180150204572696373736F6E2C2031393933004E56FFFCBAB5
-S11801658F63042E4E61AC202E000C06800000000C4E7656807C
-S118017A4E760280FFFFFFFC4AD56604610000B02D40FFFC200B
-S118018F6C003A2208242C003694814E7604820000000C4E76D2
-S11801A44AD566046100008EB0826E0C0CAE00000001000C6CEB
-S11801B900000C207C0000000061000060206C003A200866046C
-S11801CE610000762208D2AEFFFC68046100005C2081216E0043
-S11801E3100004216E000C0008220806810000000C68046100C2
-S11801F800402D4100142950003A206C003A24086604610000BC
-S118020D3A429042A8000442A800084E5E225F285F508F4EE922
-S118022200022B5FFFF24E5ED1DF285F2F082B48FFF2D0D04EDA
-S1180237D02B57FFF22F3C0000000E6000FEE22B57FFF22F3CD4
-S118024C000000106000FED44E56FFFCBA8F63062E4E6100FE2B
-S1180261B82D6C0032FFFC600000122B5FFFF24FEEFFFC42AEF1
-S1180276FFFC600000824AAEFFFC6700007A206EFFFC200866A7
-S118028B00000461B622280004B2AE001067000062220802810B
-S11802A0000000034A8166402208226C003A2409B2826E3426B6
-S11802B510280806840000000C68046100FF76B6846D2026101B
-S11802CA280896844E7604830000000C4E764AD566046100FFCD
-S11802DF5AB6A800086C0000046182206EFFFC20086604610077
-S11802F4FF522D50FFFC60804AAEFFFC6700002C206EFFFC2019
-S11803090866046100FF38226E000C22A80008220806810000B2
-S118031E000C68046100FF142D4100146000000C206E000C4210
-S11803339042AE00144E5E205F285F508F4ED04FEDFF00707F44
-S1180348204F425851C8FFFC486DFF081F3C00043F3C00019F49
-S118035DFC0000000C224F45FA04FE22DA22DA22DA266C00281F
-S11803722F0C286C002C4EAB0068486DFFB8486DFFB42F0C20E7
-S11803876C0000286C00044E909FFC000000522F2DFFC62F0C32
-S118039C206C0008286C000C4E907052266C00204EAB001E416A
-S11803B1FA04BE266C00204EAB007E266C00204EAB009E41EDD7
-S11803C6FFBA266C00204EAB007E266C00204EAB009E1F3C0098
-S11803DB283F3C0001266C00204EAB009E9FFC00000052302DD2
-S11803F0FFCA48C02F002F0C206C0008286C000C4E90705226BF
-S11804056C00204EAB001E266C00204EAB009E41FA045E266CC3
-S118041A00204EAB007E266C00204EAB009E41EDFF9E70162672
-S118042F6C00204EAB00CA600000162B5FFFF24FEDFF002B7C92
-S118044400000001FFB4600003E4486DFF089FFC0000005220DB
-S11804594F43EDFF9E3019725092406F024241D04130C06F0A23
-S118046E5340E24030D951C8FFFC9FFC00000052224F45FA0303
-S1180483F632DA266C00282F0C286C002C4EAB0050FFAA486D02
-S1180498FF08266C00282F0C286C002C4EAB00A0FF9642ADFF73
-S11804AD002B6C0032FF04487A03C43F3CFFFF486DFF08266C1A
-S11804C200282F0C286C002C4EAB00C0FF70486DFF08266C0088
-S11804D7282F0C286C002C4EAB00A4FF5C600000782B5FFFF29E
-S11804EC4FEDFF00487A03BA3F3CFFFF486DFF08266C00282F1F
-S11805010C286C002C4EAB00C0FF349FFC00000052206DFF04AC
-S118051620082F002F0C206C0010286C00144E902F0F3F3CFF60
-S118052BFF486DFF08266C00282F0C286C002C4EAB00C0FF008F
-S1180540DFFC00000052486DFF08266C00282F0C286C002C4EB6
-S1180555AB00A4FEE6600001F0206DFF042008660261804A902E
-S118056A6700016A22100281000000034A81664A2210242C00F1
-S118057F3604820000000C68046100FCAEB2826E3422102408F0
-S118059406820000000C68046100FC9AB2826D202210240892A6
-S11805A9824E7604810000000C4E764AD566046100FC7EB2A8E0
-S11805BE00086C0000066100FF22206DFF04200866046100FFA6
-S11805D31622280008D2ADFF0068046100FC582B41FF009FFC02
-S11805E80000005224082F022F0C206C0010286C00144E902FBF
-S11805FD0F3F3C000C486DFF08266C00282F0C286C002C4EABE5
-S118061200C0FE2ADFFC00000052206DFF04200866046100FE39
-S1180627C22F2800043F3C000C486DFF08266C00282F0C286CD1
-S118063C002C4EAB00BCFDFC206DFF04200866046100FE9A2F81
-S11806512800083F3C000C486DFF08266C00282F0C286C002C68
-S11806664EAB00BCFDD49FFC00000052206DFF04200866046185
-S118067B00FE6C22102F012F0C206C0010286C00144E902F0FFF
-S11806903F3C000C486DFF08266C00282F0C286C002C4EAB0060
-S11806A5C0FD98DFFC00000052486DFF08266C00282F0C286C75
-S11806BA002C4EAB00A4FD7E206DFF04200866046100FE1C2B1B
-S11806CF50FF046000FE8A206C003AB1EDFF046700006C487ADB
-S11806E401E83F3CFFFF486DFF08266C00282F0C286C002C4EDC
-S11806F9AB00C0FD429FFC00000052206DFF0420082F002F0C2F
-S118070E206C0010286C00144E902F0F3F3CFFFF486DFF082617
-S11807236C00282F0C286C002C4EAB00C0FD0EDFFC000000523D
-S1180738486DFF08266C00282F0C286C002C4EAB00A4FCF44862
-S118074D7A01983F3CFFFF486DFF08266C00282F0C286C002C96
-S11807624EAB00C0FCD8486DFF08266C00282F0C286C002C4E32
-S1180777AB00A4FCC4487A016A3F3CFFFF486DFF08266C00283E
-S118078C2F0C286C002C4EAB00C0FCA8486DFF08266C00282F57
-S11807A10C286C002C4EAB00A4FC94206DFF0420080680000008
-S11807B600184E76222C003692804E760281FFFFFFFC4AD566F3
-S11807CB046100FA6A2F013F3C000C486DFF08266C00282F0CE4
-S11807E0286C002C4EAB00BCFC562F2DFF003F3C000C486DFFA3
-S11807F508266C00282F0C286C002C4EAB00BCFC3A486DFF0887
-S118080A266C00282F0C286C002C4EAB00A4FC26486DFF081F86
-S118081F3C0001266C00282F0C286C002C4EAB0054486DFFB815
-S1180834486DFFB42F0C206C0018286C001C4E90486DFF0842D8
-S118084927266C00282F0C286C002C4EAB005442A72F2D0038F0
-S118085E2F2D00344E4A000A4631202020202020202000023A9C
-S11808733A0002293A0000003020202020204164647265737337
-S1180888202020204964656E746974792020202020202020533A
-S118089D697A6520202020202020204E657874001D496E7661B0
-S11808B26C6964207365676D656E74207374617274696E672035
-S11808C761743A202000185365676D656E74206C69737420637F
-S11808DC6F727275707465643A2000000018202020417661693B
-S11808F16C61626C652020202020202020557365644FEDFFF230
-S11809069FFC0000000A6100015641EC003020DF20DF30DF20F1
-S118091B2C003256804E760280FFFFFFFC4AD566046100F90A63
-S1180930294000322940003A6000003E2B5FFFF24FEDFFF2200A
-S11809452C003256804E760280FFFFFFFC4AD566046100F8E064
-S118095A2940003A206C003A220866046100F8DE429042A80094
-S118096F0442A800086000009E4A2C00306700001A206C003A8E
-S11809842008660261B2429042A8000442A800086000007E2007
-S11809996C003A20086602619A4A906700006E221002810000B0
-S11809AE00034A81664A2210242C003604820000000C6804619B
-S11809C300F874B2826E342210240806820000000C680461001A
-S11809D8F860B2826D202210240892824E7604810000000C4ED8
-S11809ED764AD566046100F844B2A800086C0000066100FF3CE5
-S1180A02206C003A200866046100FF302950003A608442A72F44
-S1180A172D00382F2D00344E4A4E560000518F42A71F3C000E63
-S1180A2C4267487A0012426742272F3C00B5E86E4E49000E50B7
-S1180A418F4E5E205F285F4EE80002207C0000000060042B5F99
-S1180A56FFF24E5ED1DF285F2F08D0D04ED043FA0004D3FC00AE
-S1180A6B02704E2F49000A43FA0004D3FC000000402F49000662
-S1180A8041FA0004D1FCFFFFF57A202800566600002222099201
-S1180A95882141005642812448D25AB5C96DFA4441D368005AAE
-S1110AAA1F7C000100044E75422F00044E759F
-S9030000FC
diff --git a/ld/testsuite/ld-versados/t2-1.ro b/ld/testsuite/ld-versados/t2-1.ro Binary files differdeleted file mode 100644 index 633a7cc..0000000 --- a/ld/testsuite/ld-versados/t2-1.ro +++ /dev/null diff --git a/ld/testsuite/ld-versados/t2-2.ro b/ld/testsuite/ld-versados/t2-2.ro Binary files differdeleted file mode 100644 index 704a79d..0000000 --- a/ld/testsuite/ld-versados/t2-2.ro +++ /dev/null diff --git a/ld/testsuite/ld-versados/t2-3.ro b/ld/testsuite/ld-versados/t2-3.ro Binary files differdeleted file mode 100644 index d959342..0000000 --- a/ld/testsuite/ld-versados/t2-3.ro +++ /dev/null diff --git a/ld/testsuite/ld-versados/t2.ld b/ld/testsuite/ld-versados/t2.ld deleted file mode 100644 index 5e1e413..0000000 --- a/ld/testsuite/ld-versados/t2.ld +++ /dev/null @@ -1,281 +0,0 @@ -OUTPUT_FORMAT("srec") -SECTIONS -{ - - -.text 0 : { *("9") *("10") *("11") *("12") *("13") *("14") *("15") - *("7") *("8") *("0") *("1") *("2") *("3") *("4") } -.bss : { *("5") *("6") } - -.PAFI =0x00000050 ; -.PCHIO =0x000000D0 ; -.PCLO =0x00000054 ; -.PCVBSV =0x0000000E ; -.PCVTSU =0x00000012 ; -.PCVTSV =0x00000016 ; -.PCVTSVL =0x0000001A ; -.PCVTUS =0x0000001E ; -.PDIS =0x00000022 ; -.PDISL =0x00000026 ; -.PDVJ =0x0000002A ; -.PEIO =0x000000CC ; -.PEOF =0x00000058 ; -.PEOL =0x0000005C ; -.PEQUS =0x0000002E ; -.PEQUV =0x00000032 ; -.PEQUVL =0x00000036 ; -.PEQUW =0x000000DE ; -.PGCM =0x00000064 ; -.PGEQS =0x0000003A ; -.PGEQV =0x0000003E ; -.PGEQVL =0x00000042 ; -.PGET =0x00000060 ; -.PGRTS =0x00000046 ; -.PGRTV =0x0000004A ; -.PGRTVL =0x0000004E ; -.PIACT =0x0000006C ; -.PIFD =0x00000068 ; -.PINDS =0x00000052 ; -.PINDV =0x00000056 ; -.PINDVL =0x0000005A ; -.PINDW =0x000000D6 ; -.PLDCS =0x0000005E ; -.PLDCV =0x00000062 ; -.PLEQS =0x00000066 ; -.PLEQV =0x0000006A ; -.PLEQVL =0x0000006E ; -.PLESS =0x00000072 ; -.PLESV =0x00000076 ; -.PLESVL =0x0000007A ; -.PLODS =0x0000007E ; -.PLODV =0x00000082 ; -.PLODVL =0x00000086 ; -.PMODJ =0x0000008A ; -.PMOV =0x000000E2 ; -.PMPJ =0x0000008E ; -.PNEQS =0x00000092 ; -.PNEQV =0x00000096 ; -.PNEQVL =0x0000009A ; -.PNEQW =0x000000DA ; -.PPAGE =0x000000D4 ; -.PPEE =0x00000070 ; -.PPUT =0x00000074 ; -.PRDB =0x00000078 ; -.PRDC =0x0000007C ; -.PRDH =0x00000080 ; -.PRDI =0x00000084 ; -.PRDJ =0x00000088 ; -.PRDRS =0x000000C8 ; -.PRDS =0x0000008C ; -.PRDV =0x00000090 ; -.PRLN =0x00000094 ; -.PRRAN =0x00000098 ; -.PRST =0x0000009C ; -.PRWT =0x000000A0 ; -.PSCON =0x0000009E ; -.PSCOP =0x000000A2 ; -.PSDEL =0x000000A6 ; -.PSINS =0x000000AA ; -.PSLEN =0x000000AE ; -.PSPOS =0x000000B2 ; -.PSTCV =0x000000B6 ; -.PSTCVL =0x000000BA ; -.PSTOS =0x000000BE ; -.PSTOV =0x000000C2 ; -.PSTOVL =0x000000C6 ; -.PSTRS =0x000000CA ; -.PSTRV =0x000000CE ; -.PSTRVL =0x000000D2 ; -.PWLN =0x000000A4 ; -.PWRAN =0x000000A8 ; -.PWRB =0x000000AC ; -.PWRC =0x000000B0 ; -.PWRH =0x000000B4 ; -.PWRI =0x000000B8 ; -.PWRJ =0x000000BC ; -.PWRS =0x000000C0 ; -.PWRV =0x000000C4 ; - -/* -.PAFI=0x = 0x00; -.PCHIO =0x 0x000000; -.PCLO =0x 64 ; -.PC; -.PCVTSU =0x 0x000000; -.PCVTSV =0x 0x000000; -.PCVTSVL =0x 0x000000; -.PCVTUS =0x 158 ; -.P; -.PDISL =0x 0x000000; -.PDVJ =0x 0x000000; -.PEIO =0x 0x000000; -.PEOF =0x 0x000000; -.PEOL =0x 0x000000; -.PEQUS =0x 0x000000; -.PEQUV =0x 0x000000; -.PEQUVL =0x 0x000000; -.PEQUW =0x 0x000000; -.PGCM =0x 0x000000; -.PGEQS =0x 0x000000; -.PGEQV =0x 0x000000; -.PGEQVL =0x 0x000000; -.PGET =0x 0x000000; -.PGRTS =0x 0x000000; -.PGRTV =0x 0x000000; -.PGRTVL =0x 0x000000; -.PIACT =0x 0x000000; -.PIFD =0x 126 ; -.P; -.PINDV =0x 0x000000; -.PINDVL =0x 0x000000; -.PINDW =0x 0x000000; -.PLDCS =0x 0x000000; -.PLDCV =0x 0x000000; -.PLEQS =0x 0x000000; -.PLEQV =0x 0x000000; -.PLEQVL =0x 0x000000; -.PLESS =0x 0x000000; -.PLESV =0x 0x000000; -.PLESVL =0x 0x000000; -.PLODS =0x 0x000000; -.PLODV =0x 0x000000; -.PLODVL =0x 0x000000; -.PMODJ =0x 0x000000; -.PMOV =0x 0x000000; -.PMPJ =0x 0x000000; -.PNEQS =0x 0x000000; -.PNEQV =0x 0x000000; -.PNEQVL =0x 0x000000; -.PNEQW =0x 0x000000; -.PPAGE =0x 0x000000; -.PPEE =0x 0x000000; -.PPUT =0x 0x000000; -.PRDB =0x 0x000000; -.PRDC =0x 0x000000; -.PRDH =0x 0x000000; -.PRDI =0x 0x000000; -.PRDJ =0x 0x000000; -.PRDRS =0x 0x000000; -.PRDS =0x 0x000000; -.PRDV =0x 0x000000; -.PRLN =0x 0x000000; -.PRRAN =0x 0x000000; -.PRST =0x 0x000000; -.PRWT =0x 0x000000; -.PSCON =0x 0x000000; -.PSCOP =0x 0x000000; -.PSDEL =0x 0x000000; -.PSINS =0x 0x000000; -.PSLEN =0x 0x000000; -.PSPOS =0x 0x000000; -.PSTCV =0x 0x000000; -.PSTCVL =0x 0x000000; -.PSTOS =0x 0x000000; -.PSTOV =0x 0x000000; -.PSTOVL =0x 0x000000; -.PSTRS =0x 0x000000; -.PSTRV =0x 0x000000; -.PSTRVL =0x 0x000000; -.PWLN =0x 0x000000; -.PWRAN =0x 0x000000; -.PWRB =0x 0x000000; -.PWRC =0x 0x000000; -.PWRH =0x 0x000000; -.PWRI =0x 0x000000; -.PWRJ =0x 0x000000; -.PWRS =0x 0x000000; -.PWRV =0x 0x000000; - -*/ -/* -.P=0x = 0; -.PCHIO =0x 0xfeedfa; -.PCLO =0x 0xfeedfa; -.PCVBSV =0x 0xfeedfa; -.PCVTSU =0x 0xfeedfa; -.PCVTSV =0x 0xfeedfa; -.PCVTSVL =0x 0xfeedfa; -.PCVTUS =0x 0xfeedfa; -.PDIS =0x 0xfeedfa; -.PDISL =0x 0xfeedfa; -.PDVJ =0x 0xfeedfa; -.PEIO =0x 0xfeedfa; -.PEOF =0x 0xfeedfa; -.PEOL =0x 0xfeedfa; -.PEQUS =0x 0xfeedfa; -.PEQUV =0x 0xfeedfa; -.PEQUVL =0x 0xfeedfa; -.PEQUW =0x 0xfeedfa; -.PGCM =0x 0xfeedfa; -.PGEQS =0x 0xfeedfa; -.PGEQV =0x 0xfeedfa; -.PGEQVL =0x 0xfeedfa; -.PGET =0x 0xfeedfa; -.PGRTS =0x 0xfeedfa; -.PGRTV =0x 0xfeedfa; -.PGRTVL =0x 0xfeedfa; -.PIACT =0x 0xfeedfa; -.PIFD =0x 0xfeedfa; -.PINDS =0x 0xfeedfa; -.PINDV =0x 0xfeedfa; -.PINDVL =0x 0xfeedfa; -.PINDW =0x 0xfeedfa; -.PLDCS =0x 0xfeedfa; -.PLDCV =0x 0xfeedfa; -.PLEQS =0x 0xfeedfa; -.PLEQV =0x 0xfeedfa; -.PLEQVL =0x 0xfeedfa; -.PLESS =0x 0xfeedfa; -.PLESV =0x 0xfeedfa; -.PLESVL =0x 0xfeedfa; -.PLODS =0x 0xfeedfa; -.PLODV =0x 0xfeedfa; -.PLODVL =0x 0xfeedfa; -.PMODJ =0x 0xfeedfa; -.PMOV =0x 0xfeedfa; -.PMPJ =0x 0xfeedfa; -.PNEQS =0x 0xfeedfa; -.PNEQV =0x 0xfeedfa; -.PNEQVL = 0xfeedface; -.PNEQW = 0xfeedface; -.PPAGE = 0xfeedface; -.PPEE = 0xfeedface; -.PPUT = 0xfeedface; -.PRDB = 0xfeedface; -.PRDC = 0xfeedface; -.PRDH = 0xfeedface; -.PRDI = 0xfeedface; -.PRDJ = 0xfeedface; -.PRDRS = 0xfeedface; -.PRDS = 0xfeedface; -.PRDV = 0xfeedface; -.PRLN = 0xfeedface; -.PRRAN = 0xfeedface; -.PRST = 0xfeedface; -.PRWT = 0xfeedface; -.PSCON = 0xfeedface; -.PSCOP = 0xfeedface; -.PSDEL = 0xfeedface; -.PSINS = 0xfeedface; -.PSLEN = 0xfeedface; -.PSPOS = 0xfeedface; -.PSTCV = 0xfeedface; -.PSTCVL = 0xfeedface; -.PSTOS = 0xfeedface; -.PSTOV = 0xfeedface; -.PSTOVL = 0xfeedface; -.PSTRS = 0xfeedface; -.PSTRV = 0xfeedface; -.PSTRVL = 0xfeedface; -.PWLN = 0xfeedface; -.PWRAN = 0xfeedface; -.PWRB = 0xfeedface; -.PWRC = 0xfeedface; -.PWRH = 0xfeedface; -.PWRI = 0xfeedface; -.PWRJ = 0xfeedface; -.PWRS = 0xfeedface; -.PWRV = 0xfeedface; -*/ - -} diff --git a/ld/testsuite/ld-versados/t2.ook b/ld/testsuite/ld-versados/t2.ook deleted file mode 100644 index 03f24a5..0000000 --- a/ld/testsuite/ld-versados/t2.ook +++ /dev/null @@ -1,99 +0,0 @@ -S0120000696E6974746573745F6570632E7372CF
-S118000000000000494E495454455354202050413035202052AB
-S118001531332E33202020202020205231332E32202020202077
-S118002A202000934B5B00B5E6C11B089DD600005400000005F9
-S118003F5A00000048005C00A60000010A0126000400010002CB
-S1180054009000000000000000000002004020200000494F5F8A
-S11800695245534552564152544C4942434F4E0040484501003B
-S118007E505F414C4C202020202052544C4942434F4E010000E3
-S118009300009C01000000000000085345504152415445000852
-S11800A80008004031CF52544C4942434F4E0004E5EC52544CD3
-S11800BD4942434F4E00B5E86D5341464553544F5200004F28D7
-S11800D253595354454D494D00B5E8735341464553544F520023
-S11800E74031D252544C4942434F4E00000A7D52544C49425309
-S11800FC54520010A4A852544C494246494C000100B5E6C049EC
-S11801114E495454455354202000000616020008000000023210
-S11801260048000000004E56FFF0BA8F63062E4E610000BC4159
-S118013BFA00F443EEFFF032D82D7C00000001FFFC206E000858
-S118015020086604610000BA222EFFFC53814A816C046100002E
-S11801659E2248D3E9FFFC41F01800B3C863EE4A1066000006E7
-S118017A6000006241EEFFF0266C00384EAB007E206E00082095
-S118018F0866046100007C222EFFFC53814A816C0461000060ED
-S11801A42248D3E9FFFC41F01800B3C863EE1F103F3C0001263B
-S11801B96C00384EAB009E41EEFFF0700C266C00384EAB00CACB
-S11801CE52AEFFFC0CAE0000000AFFFC6F00FF7041EEFFF0431F
-S11801E3EE000C22D822D822D84E5E205F588F4ED02B57FFF278
-S11801F82F3C0000000A6000001E2B57FFF22F3C0000000F60AE
-S118020D0000102B57FFF22F3C00000010600000023B6F0002CC
-S1180222FFF62F2D00382F2D00344E4C4E4A00004FEDFEEA2034
-S11802373C0000008A204F425851C8FFFC486DFEEA1F3C0004CF
-S118024C3F3C00019FFC0000000C224F45FA02D422DA22DA22D6
-S1180261DA266C00402F0C286C00444EAB0068486DFFB8486D43
-S1180276FFB42F0C206C0008286C000C4E909FFC000000522F53
-S118028B2DFFC62F0C206C0010286C00144E907052266C00387F
-S11802A04EAB001E41FA0294266C00384EAB007E266C00384E04
-S11802B5AB009E41EDFFBA266C00384EAB007E266C00384EABFC
-S11802CA009E1F3C00283F3C0001266C00384EAB009E9FFC0082
-S11802DF000052302DFFCA48C02F002F0C206C0010286C0014D8
-S11802F44E907052266C00384EAB001E266C00384EAB009E41CE
-S1180309FA0234266C00384EAB007E266C00384EAB009E41EDDB
-S118031EFF807016266C00384EAB00CA9FFC0000000E61000228
-S11803332841EDFF9E20DF20DF20DF30DF4A2DFF9E6700003AFD
-S1180348598F2F2DFFA02F2DFFA82F0C206C0018286C001C4ED9
-S118035D9001B82B5FFF9A2F2DFF9A2F2DFFA42F2DFFA82F0CE9
-S1180372206C0020286C00244E9060000034598F2F2DFFA04871
-S11803876DFFA82F0C206C0028286C002C4E902B5FFF962F2D41
-S118039CFFA42F2DFF962F2DFFA82F0C206C0020286C00244EC4
-S11803B190486DFEEA9FFC00000052204F43EDFF8030197250F0
-S11803C692406F024241D04130C06F0A5340E24030D951C8FF08
-S11803DBFC9FFC00000052224F45FA015C32DA266C00402F0CFA
-S11803F0286C00444EAB0050012C486DFEEA266C00402F0C28D4
-S11804056C00444EAB00A00118487A01343F3CFFFF486DFEEA6F
-S118041A266C00402F0C286C00444EAB00C000FC486DFEEA266C
-S118042F6C00402F0C286C00444EAB00A400E842ADFFB02B7C2B
-S118044400000001FFAC598F2F2DFFAC6100017E2B5FFFB02BC0
-S118045940FFB02F2DFFAC3F3C000A486DFEEA266C00402F0C65
-S118046E286C00444EAB00BC00AE9FFC0000000C2F2DFFB06127
-S118048300FCA82F0F3F3C000A486DFEEA266C00402F0C286CBB
-S118049800444EAB00C00086DFFC0000000C486DFEEA266C00B2
-S11804AD402F0C286C00444EAB00A4006C52ADFFAC0CAD000077
-S11804C2000AFFAC6F82486DFEEA1F3C0001266C00402F0C284D
-S11804D76C00444EAB0054486DFFB8486DFFB42F0C206C003044
-S11804EC286C00344E90486DFEEA4227266C00402F0C286C00AA
-S1180501444EAB005442A72F2D00382F2D00344E4A2B57FFF238
-S11805162F3C0000000C6000FD002B57FFF22F3C000000646056
-S118052B00FCF2000A4631202020202020202000023A3A0002D0
-S1180540293A000000142020202020204361736520202020521D
-S11805556573756C7441FA0004D1FCFFFFFAA02028003C43FAFB
-S118056A0004D3FC000001D645FA0004D5FC0000025E260A58D2
-S118057F8AD0885580222800566600002E2408265AD5B0B8008F
-S1180594B5C06DF6220992882141005642812648D25BB7C96D2E
-S11805A9FA4441D368005A123C00016000000442411F4100048B
-S11805BE2F68003400062F49000A96892F43000E4E754E56FFCC
-S11805D3F0202E000847FA0004D7FC000001A6220B41FA00049E
-S11805E8D1FC000001B62D58FFF02D58FFF42D58FFF82D50FF92
-S11805FDFC53807408B4806500012C41FA0004D1FC0000000EBA
-S1180612D080303008004EFB00020012002200320042004800DC
-S118062758006C00A000DC41FA0004D1FC0000011820106000C5
-S118063C010247FA0004D7FC0000010C200B600000F241FA00C5
-S118065104D1FC000001102010600000E22001600000DC47FA9E
-S11806660004D7FC00000120200B600000CC43FA0004D3FC001C
-S118067B0000FA41E9000C2010600000B8242EFFF447FA000464
-S1180690D7FC000000FEB48B6600001247FA0004D7FC000001B0
-S11806A514200B6000009447FA0004D7FC0000010A200B60005B
-S11806BA008441FA0004D1FC0000008A205047FA0004D7FC0085
-S11806CF000082B1CB6600001247FA0004D7FC000000E0200B79
-S11806E46000005847FA0004D7FC000000D2200B600000484147
-S11806F9FA0004D1FC0000004E43FA0004D3FC0000003EB3D0FE
-S118070E6600001247FA0004D7FC000000AE200B6000001E47A4
-S1180723FA0004D7FC000000A6200B6000000E47FA0004D7FC95
-S118073800000098200B4E5E4E740004000053756E65000000D8
-S118074D0007464F74746F00000000000A0000000C50656C6CFD
-S118076265000000075E5374696E61004B6172696E00000000C0
-S11807770500000768000000030000076E5075747465004B61BF
-S118078C6C6C65005374696E613100004B6172696E31000000C1
-S11807A1000033000007900000001F0000079878797A7A0000D2
-S11807B64F6C6C650000370038005065746572005376756C6C19
-S11807CB6F00003900536C75740000000000000000074C000072
-S11507E007640000077800000780000007A4000007AC34
-S9030000FC
diff --git a/ld/testsuite/ld-versados/versados.exp b/ld/testsuite/ld-versados/versados.exp deleted file mode 100644 index f46f416..0000000 --- a/ld/testsuite/ld-versados/versados.exp +++ /dev/null @@ -1,102 +0,0 @@ -# Expect script for ld-versados tests -# Copyright (C) 1995-2018 Free Software Foundation, Inc. -# -# This file is part of the GNU Binutils. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, -# MA 02110-1301, USA. -# -# Written by Steve Chamberlain (sac@cygnus.com) -# - -# Make sure that ld can read versados images and -# generate binaries which are identical to the customer's -# old method. - -# This test can only be run if ld generates native executables. - -# This test can only be run on 68k coff targets -# Square bracket expressions seem to confuse istarget. -if { ![istarget m68k-*-coff*] } then { - return -} - -set testname "LD VERSADOS" - - -proc inspect { whichone } { - global objdump - global exec_output - global srcdir - global subdir - global testname - - send_log "$objdump -s tmpdir/$whichone.out >tmpdir/$whichone.dump\n" - catch "exec $objdump -s tmpdir/$whichone.out | grep -v srec >tmpdir/$whichone.dump" exec_output - - if ![string match "" $exec_output] { - send_log "$exec_output\n" - verbose $exec_output - unresolved $testname - return 0 - } - - send_log "$objdump -s $srcdir/$subdir/$whichone.ook >tmpdir/$whichone.dok\n" - catch "exec $objdump -s $srcdir/$subdir/$whichone.ook | grep -v srec >tmpdir/$whichone.dok" exec_output - - if ![string match "" $exec_output] { - send_log "$exec_output\n" - verbose $exec_output - unresolved $testname - return 0 - } - - # compare it with the correct output - catch "exec diff tmpdir/$whichone.dump tmpdir/$whichone.dok" exec_output - if ![string match "" $exec_output] { - send_log "$exec_output\n" - verbose $exec_output - fail $testname - return 0 - } - - return 1 -} - -if ![ld_link $ld tmpdir/t1.out \ - " -T $srcdir/$subdir/t1.ld $srcdir/$subdir/t1-1.ro $srcdir/$subdir/t1-2.ro"] { - fail $testname - return -} else { - # Get a dump of what we've got, and what we should have - if ![inspect t1] { - return - } -} - - -if ![ld_link $ld tmpdir/t2.out \ - " -T $srcdir/$subdir/t2.ld $srcdir/$subdir/t2-2.ro \ - $srcdir/$subdir/t2-1.ro $srcdir/$subdir/t2-3.ro"] { - fail $testname - return -} else { - # Get a dump of what we've got, and what we should have - if ![inspect t2] { - return - } -} - -pass $testname |