]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in (arm-*-oabi): Support.
authorCatherine Moore <clm@cygnus.com>
Tue, 2 Feb 1999 18:56:07 +0000 (18:56 +0000)
committerCatherine Moore <clm@gcc.gnu.org>
Tue, 2 Feb 1999 18:56:07 +0000 (13:56 -0500)
        * configure.in (arm-*-oabi):  Support.
        * configure:  Regenerate.
        * config/arm/unknown-elf-oabi.h:  New file.

From-SVN: r24979

gcc/ChangeLog
gcc/config/arm/unknown-elf-oabi.h [new file with mode: 0644]
gcc/configure
gcc/configure.in

index 1fa60acc95552e3e4e15234252d073b4af5b40e2..5837037eb8f1b40b8cfb846a914f1c7675b4ef7b 100644 (file)
@@ -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 (file)
index 0000000..22aacf6
--- /dev/null
@@ -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"
index ab039a73f8b4002fd753b5ac1a9433350bdfe336..65f5087c165197449ad1064ccea07030e5989c3a 100755 (executable)
@@ -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
index dce5c5c4d6a50df787c79719c3a54cf17962a481..d336237e14dc1aa9e20f10ef06b4bc7e77cd19ee 100644 (file)
@@ -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