summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix31.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-05 21:52:43 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-05 21:52:43 +0000
commitef2a29966c0ccd590e0f1a6942c5dff7029dfc80 (patch)
treee665753e102b2a147e2169aa1c41214fbccb33be /gcc/config/rs6000/aix31.h
parent4546112044bf9ee3dd136d8ee8809f075ad5dcda (diff)
downloadgcc-ef2a29966c0ccd590e0f1a6942c5dff7029dfc80.tar.gz
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix31.h')
-rw-r--r--gcc/config/rs6000/aix31.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix31.h b/gcc/config/rs6000/aix31.h
new file mode 100644
index 00000000000..19cd1588703
--- /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