aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>1999-02-02 18:56:07 +0000
committerCatherine Moore <clm@gcc.gnu.org>1999-02-02 13:56:07 -0500
commitcbca921c15ad8dca7df9ee697ecb70b89cdb1da0 (patch)
treeaa57d5f77f5e37296ecc7f18f9a707fe8c9bdf8e /gcc
parent6d6dbe51999a2b8101f50f15ab98c7ac094b9b14 (diff)
downloadgcc-cbca921c15ad8dca7df9ee697ecb70b89cdb1da0.zip
gcc-cbca921c15ad8dca7df9ee697ecb70b89cdb1da0.tar.gz
gcc-cbca921c15ad8dca7df9ee697ecb70b89cdb1da0.tar.bz2
configure.in (arm-*-oabi): Support.
* configure.in (arm-*-oabi): Support. * configure: Regenerate. * config/arm/unknown-elf-oabi.h: New file. From-SVN: r24979
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arm/unknown-elf-oabi.h36
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.in4
4 files changed, 50 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1fa60ac..5837037 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Tue Feb 2 20:29:34 1999 Catherine Moore <clm@cygnus.com>
+
+ * 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 0000000..22aacf6
--- /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 <clm@cygnus.com>
+
+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 ab039a7..65f5087 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 dce5c5c..d336237 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