From bdf632d6ce2cf0c6aefa5fa12b9b602e5a5bb18a Mon Sep 17 00:00:00 2001 From: nickc Date: Fri, 23 Nov 2001 09:13:14 +0000 Subject: [PATCH] Remove some compile time warnings about duplicate definitions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47285 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++ gcc/config/arm/xscale-coff.h | 67 ++++++++++++++++++++++---------------------- 2 files changed, 41 insertions(+), 33 deletions(-) rewrite gcc/config/arm/xscale-coff.h (65%) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a84ebf96095..02549e6a85e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-11-23 Nick Clifton + + * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override + default definition. + (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition. + (MULTILIB_DEFAULTS): Remove previous definition. + 2001-11-23 Neil Booth * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic. diff --git a/gcc/config/arm/xscale-coff.h b/gcc/config/arm/xscale-coff.h dissimilarity index 65% index f5f980dba39..51fe6932e6d 100644 --- a/gcc/config/arm/xscale-coff.h +++ b/gcc/config/arm/xscale-coff.h @@ -1,33 +1,34 @@ -/* Definitions for XScale systems using COFF - Copyright (C) 1999, 2000 Free Software Foundation, Inc. - Contributed by Catherine Moore - -This file is part of GNU CC. - -GNU CC 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 2, or (at your option) -any later version. - -GNU CC 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; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* Run-time Target Specification. */ -#ifndef SUBTARGET_CPU_DEFAULT -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_xscale -#endif - -#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale}" - -#define MULTILIB_DEFAULTS \ - { "mlittle-endian", "mno-thumb-interwork", "marm" } - -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (XScale/COFF)", stderr); +/* Definitions for XScale systems using COFF + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + Contributed by Catherine Moore + + This file is part of GCC. + + GCC 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 2, or (at your + option) any later version. + + GCC 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; see the file COPYING. If not, write to + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, + MA 02111-1307, USA. */ + +/* Run-time Target Specification. */ +#undef SUBTARGET_CPU_DEFAULT +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_xscale + +#undef SUBTARGET_EXTRA_ASM_SPEC +#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale}" + +#undef MULTILIB_DEFAULTS +#define MULTILIB_DEFAULTS \ + { "mlittle-endian", "mno-thumb-interwork", "marm" } + +#undef TARGET_VERSION +#define TARGET_VERSION fputs (" (XScale/COFF)", stderr); -- 2.11.4.GIT