diff options
Diffstat (limited to 'gcc/config/rs6000/aix31.h')
-rwxr-xr-x | gcc/config/rs6000/aix31.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix31.h b/gcc/config/rs6000/aix31.h new file mode 100755 index 0000000..46bd03c --- /dev/null +++ b/gcc/config/rs6000/aix31.h @@ -0,0 +1,41 @@ +/* Definitions of target machine for GNU compiler, + for IBM RS/6000 running AIX version 3.1. + Copyright (C) 1993,1997 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, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, 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 -Asystem(unix) -Asystem(aix) -Acpu(rs6000) -Amachine(rs6000)" + +/* AIX 3.1 uses bit 15 in CROR as the magic nop. */ +#undef RS6000_CALL_GLUE +#define RS6000_CALL_GLUE "cror 15,15,15" + +/* AIX 3.1 does not prepend underscores to itrunc, uitrunc, or mcount. */ +#undef RS6000_ITRUNC +#define RS6000_ITRUNC "itrunc" +#undef RS6000_UITRUNC +#define RS6000_UITRUNC "uitrunc" +#undef RS6000_MCOUNT +#define RS6000_MCOUNT ".mcount" + |