Initial revision
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 5 Jul 1993 21:52:43 +0000 (17:52 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 5 Jul 1993 21:52:43 +0000 (17:52 -0400)
From-SVN: r4850

gcc/config/rs6000/aix31.h [new file with mode: 0644]
gcc/config/rs6000/x-aix31 [new file with mode: 0644]

diff --git a/gcc/config/rs6000/aix31.h b/gcc/config/rs6000/aix31.h
new file mode 100644 (file)
index 0000000..19cd158
--- /dev/null
@@ -0,0 +1,31 @@
+/* Definitions of target machine for GNU compiler,
+   for IBM RS/6000 running AIX version 3.1.
+   Copyright (C) 1993 Free Software Foundation, Inc.
+   Contributed by Richard Kenner (kenner@nyu.edu)
+
+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 GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+
+#include "rs6000/rs6000.h"
+
+/* AIX 3.2 defined _AIX32, but older versions do not.  */
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-D_IBMR2 -D_AIX"
+
+/* AIX 3.1 uses bit 15 in CROR as the magic nop.  */
+#undef RS6000_CROR_BIT_NUMBER
+#define RS6000_CROR_BIT_NUMBER 15
diff --git a/gcc/config/rs6000/x-aix31 b/gcc/config/rs6000/x-aix31
new file mode 100644 (file)
index 0000000..635167c
--- /dev/null
@@ -0,0 +1,11 @@
+# configuration for IBM rs6000 running aix
+INSTALL=/usr/ucb/install -c
+
+# Show we need to use the C version of ALLOCA
+ALLOCA=alloca.o
+
+# For some reason, we need -lm for cc1.
+# We need -lld for collect2 (actually this only matters
+# for a native compiler, but this is as good a place as any
+# to define the symbol).
+CLIB=-lm -lld