From ddb000396c9246649e02669e0bd6ad3949973e5a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 16 Apr 2018 20:29:05 +0930 Subject: Remove arm-epoc-pe support bfd/ * Makefile.am: Remove arm-epoc-pe support. * coff-arm.c: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * targets.c: Likewise. * epoc-pe-arm.c: Delete. * epoc-pei-arm.c: Delete. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * configure.ac: Remove arm-epoc-pe support. * dlltool.c: Likewise. * configure: Regenerate. gas/ * Makefile.am: Remove arm-epoc-pe support. * config/tc-arm.h: Likewise. * configure.tgt: Likewise. * testsuite/gas/all/gas.exp: Likewise. * testsuite/gas/arm/local_label_coff.d: Likewise. * testsuite/gas/arm/undefined.d: Likewise. * testsuite/gas/arm/undefined_coff.d: Likewise. * config/te-epoc-pe.h: Delete. * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. ld/ * Makefile.am: Remove arm-epoc-pe support. * configure.tgt: Likewise. * emultempl/pe.em: Likewise. * pe-dll.c: Likewise. * testsuite/ld-scripts/fill.d: Likewise. * testsuite/ld-scripts/fill16.d: Likewise. * emulparams/arm_epoc_pe.sh: Delete. * scripttempl/epocpe.sc: Delete. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate. --- gas/ChangeLog | 13 +++++++++++++ gas/Makefile.am | 1 - gas/Makefile.in | 1 - gas/config/tc-arm.h | 4 +--- gas/config/te-epoc-pe.h | 27 --------------------------- gas/configure.tgt | 1 - gas/po/POTFILES.in | 1 - gas/testsuite/gas/all/gas.exp | 1 - gas/testsuite/gas/arm/local_label_coff.d | 2 +- gas/testsuite/gas/arm/undefined.d | 2 +- gas/testsuite/gas/arm/undefined_coff.d | 2 +- 11 files changed, 17 insertions(+), 38 deletions(-) delete mode 100644 gas/config/te-epoc-pe.h (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index e837e5c..874c3a2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,18 @@ 2018-04-16 Alan Modra + * Makefile.am: Remove arm-epoc-pe support. + * config/tc-arm.h: Likewise. + * configure.tgt: Likewise. + * testsuite/gas/all/gas.exp: Likewise. + * testsuite/gas/arm/local_label_coff.d: Likewise. + * testsuite/gas/arm/undefined.d: Likewise. + * testsuite/gas/arm/undefined_coff.d: Likewise. + * config/te-epoc-pe.h: Delete. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + * Makefile.am: Remove sparc-aout and sparc-coff support. * config/obj-coff.h: Likewise. * config/tc-sparc.c: Likewise. diff --git a/gas/Makefile.am b/gas/Makefile.am index ce4dfd7..a50fd69 100644 --- a/gas/Makefile.am +++ b/gas/Makefile.am @@ -307,7 +307,6 @@ TARG_ENV_HFILES = \ config/te-armfbsdvfp.h \ config/te-armlinuxeabi.h \ config/te-dynix.h \ - config/te-epoc-pe.h \ config/te-freebsd.h \ config/te-generic.h \ config/te-gnu.h \ diff --git a/gas/Makefile.in b/gas/Makefile.in index 45dca93..a9847fa 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -603,7 +603,6 @@ TARG_ENV_HFILES = \ config/te-armfbsdvfp.h \ config/te-armlinuxeabi.h \ config/te-dynix.h \ - config/te-epoc-pe.h \ config/te-freebsd.h \ config/te-generic.h \ config/te-gnu.h \ diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 532a4fdd..f50d7c9 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -63,9 +63,7 @@ struct fix; #elif defined OBJ_COFF # define ARM_BI_ENDIAN # if defined TE_PE -# if defined TE_EPOC -# define TARGET_FORMAT (target_big_endian ? "epoc-pe-arm-big" : "epoc-pe-arm-little") -# elif defined TE_WINCE +# if defined TE_WINCE # define TARGET_FORMAT (target_big_endian ? "pe-arm-wince-big" : "pe-arm-wince-little") # else # define TARGET_FORMAT (target_big_endian ? "pe-arm-big" : "pe-arm-little") diff --git a/gas/config/te-epoc-pe.h b/gas/config/te-epoc-pe.h deleted file mode 100644 index 37c825d..0000000 --- a/gas/config/te-epoc-pe.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2007-2018 Free Software Foundation, Inc. - - This file is part of GAS, the GNU Assembler. - - GAS 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, - or (at your option) any later version. - - GAS 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 GAS; see the file COPYING. If not, write to the Free - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA - 02110-1301, USA. */ - -#define TE_PE -#define TE_EPOC -#define LEX_AT 1 /* can have @'s inside labels */ - -/* The PE format supports long section names. */ -#define COFF_LONG_SECTION_NAMES - -#include "obj-format.h" diff --git a/gas/configure.tgt b/gas/configure.tgt index ad2bbe2..cc8c361 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -157,7 +157,6 @@ case ${generic_target} in arm-*-netbsdelf*) fmt=elf em=nbsd ;; arm-*-*n*bsd*) fmt=aout em=nbsd ;; arm-*-nto*) fmt=elf ;; - arm-epoc-pe) fmt=coff em=epoc-pe ;; arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*) fmt=coff em=wince-pe ;; arm-*-pe) fmt=coff em=pe ;; diff --git a/gas/po/POTFILES.in b/gas/po/POTFILES.in index 139d955..91b1d4c 100644 --- a/gas/po/POTFILES.in +++ b/gas/po/POTFILES.in @@ -182,7 +182,6 @@ config/te-armfbsdeabi.h config/te-armfbsdvfp.h config/te-armlinuxeabi.h config/te-dynix.h -config/te-epoc-pe.h config/te-freebsd.h config/te-generic.h config/te-gnu.h diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index ccec04b..029795b 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -161,7 +161,6 @@ case $target_triplet in { { z80-*-* } { } default { run_dump_test redef - setup_xfail "arm-epoc-pe*" # These targets fail redef2 because they disallow redefined # symbols on relocs. setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" "rl78-*-*" diff --git a/gas/testsuite/gas/arm/local_label_coff.d b/gas/testsuite/gas/arm/local_label_coff.d index 5e45ac8..e953a27 100644 --- a/gas/testsuite/gas/arm/local_label_coff.d +++ b/gas/testsuite/gas/arm/local_label_coff.d @@ -2,7 +2,7 @@ #name: ARM local label relocs to section symbol relocs (COFF) # This test is only valid on COFF based targets, except Windows CE. # There are ELF and Windows CE versions of this test. -#not-skip: *-unknown-pe *-epoc-pe *-*-*coff +#not-skip: *-unknown-pe *-*-*coff # Check if relocations against local symbols are converted to # relocations against section symbols. diff --git a/gas/testsuite/gas/arm/undefined.d b/gas/testsuite/gas/arm/undefined.d index 6c8bca7..3126b84 100644 --- a/gas/testsuite/gas/arm/undefined.d +++ b/gas/testsuite/gas/arm/undefined.d @@ -1,5 +1,5 @@ #name: Undefined local label error # COFF and aout based ports, except Windows CE, # use a different naming convention for local labels. -#skip: *-*-*coff *-unknown-pe *-epoc-pe *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks +#skip: *-*-*coff *-unknown-pe *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks #error-output: undefined.l diff --git a/gas/testsuite/gas/arm/undefined_coff.d b/gas/testsuite/gas/arm/undefined_coff.d index d280027..a8fb949 100644 --- a/gas/testsuite/gas/arm/undefined_coff.d +++ b/gas/testsuite/gas/arm/undefined_coff.d @@ -1,5 +1,5 @@ #name: Undefined local label error # COFF and aout based ports, except Windows CE, # use a different naming convention for local labels. -#not-skip: *-*-*coff *-unknown-pe *-epoc-pe *-*-*aout* *-*-netbsd *-*-riscix* +#not-skip: *-*-*coff *-unknown-pe *-*-*aout* *-*-netbsd *-*-riscix* #error-output: undefined_coff.l -- cgit v1.1