From cbca921c15ad8dca7df9ee697ecb70b89cdb1da0 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Tue, 2 Feb 1999 18:56:07 +0000 Subject: [PATCH] configure.in (arm-*-oabi): Support. * configure.in (arm-*-oabi): Support. * configure: Regenerate. * config/arm/unknown-elf-oabi.h: New file. From-SVN: r24979 --- gcc/ChangeLog | 6 ++++++ gcc/config/arm/unknown-elf-oabi.h | 36 +++++++++++++++++++++++++++++++ gcc/configure | 4 ++++ gcc/configure.in | 4 ++++ 4 files changed, 50 insertions(+) create mode 100644 gcc/config/arm/unknown-elf-oabi.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1fa60acc955..5837037eb8f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 2 20:29:34 1999 Catherine Moore + + * configure.in (arm-*-oabi): Support. + * configure: Regenerate. + * config/arm/unknown-elf-oabi.h: New file. + Tue Feb 2 19:43:59 1999 Jeffrey A Law (law@cygnus.com) * intl/Makefile.in (uninstall): Add missing "; \". diff --git a/gcc/config/arm/unknown-elf-oabi.h b/gcc/config/arm/unknown-elf-oabi.h new file mode 100644 index 00000000000..22aacf60031 --- /dev/null +++ b/gcc/config/arm/unknown-elf-oabi.h @@ -0,0 +1,36 @@ +/* Definitions for non-Linux based ARM systems using ELF old abi + Copyright (C) 1998, 1999 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 TARGET_VERSION +#define TARGET_VERSION fputs (" (ARM/ELF non-Linux old abi)", stderr); +#endif + +#define CPP_PREDEFINES "-Darm_oabi -Darm -Darm_elf -Acpu(arm) -Amachine(arm) -D__ELF__" + +#ifndef ASM_SPEC +#define ASM_SPEC "-moabi %{mbig-endian:-EB} %{mcpu=*:-m%*} %{march=*:-m%*} \ + %{mapcs-*:-mapcs-%*} %{mthumb-interwork:-mthumb-interwork}" +#endif + +/* Now get the routine arm-elf definitions. */ +#include "arm/unknown-elf.h" +#include "arm/elf.h" diff --git a/gcc/configure b/gcc/configure index ab039a73f8b..65f5087c165 100755 --- a/gcc/configure +++ b/gcc/configure @@ -3107,6 +3107,10 @@ for machine in $build $host $target; do tm_file=arm/unknown-elf.h tmake_file=arm/t-arm-elf ;; + arm*-*-oabi) + tm_file=arm/unknown-elf-oabi.h + tmake_file=arm/t-arm-elf + ;; c1-convex-*) # Convex C1 target_cpu_default=1 use_collect2=yes diff --git a/gcc/configure.in b/gcc/configure.in index dce5c5c4d6a..d336237e14d 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -728,6 +728,10 @@ changequote([,])dnl tm_file=arm/unknown-elf.h tmake_file=arm/t-arm-elf ;; + arm*-*-oabi) + tm_file=arm/unknown-elf-oabi.h + tmake_file=arm/t-arm-elf + ;; c1-convex-*) # Convex C1 target_cpu_default=1 use_collect2=yes -- 2.30.2