From: Richard Kenner Date: Mon, 5 Jul 1993 21:52:43 +0000 (-0400) Subject: Initial revision X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66be803d8bad8a607c7d87b59bf5a234fc11c2f9;p=gcc.git Initial revision From-SVN: r4850 --- 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 diff --git a/gcc/config/rs6000/x-aix31 b/gcc/config/rs6000/x-aix31 new file mode 100644 index 00000000000..635167c2ed7 --- /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