aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-07-05 17:52:43 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-07-05 17:52:43 -0400
commit66be803d8bad8a607c7d87b59bf5a234fc11c2f9 (patch)
treee665753e102b2a147e2169aa1c41214fbccb33be /gcc
parentddec4fb361e6665b6c5c738f11d52954deac2439 (diff)
downloadgcc-66be803d8bad8a607c7d87b59bf5a234fc11c2f9.zip
gcc-66be803d8bad8a607c7d87b59bf5a234fc11c2f9.tar.gz
gcc-66be803d8bad8a607c7d87b59bf5a234fc11c2f9.tar.bz2
Initial revision
From-SVN: r4850
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/aix31.h31
-rw-r--r--gcc/config/rs6000/x-aix3111
2 files changed, 42 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix31.h b/gcc/config/rs6000/aix31.h
new file mode 100644
index 0000000..19cd158
--- /dev/null
+++ b/gcc/config/rs6000/aix31.h
@@ -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
index 0000000..635167c
--- /dev/null
+++ b/gcc/config/rs6000/x-aix31
@@ -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