--- gcc/config/m68k/tower.h 2018/04/24 18:10:24 1.1.1.1 +++ gcc/config/m68k/tower.h 2018/04/24 18:28:26 1.1.1.4 @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. - Copyright (C) 1990 Free Software Foundation, Inc. + Copyright (C) 1990, 1994 Free Software Foundation, Inc. Written by Robert Andersson, International Systems, Oslo, Norway. Please send bug reports, questions and improvements to ra@intsys.no. @@ -31,7 +31,8 @@ GNU General Public License for more deta 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. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #include "m68k/m68k.h" @@ -47,22 +48,22 @@ the Free Software Foundation, 675 Mass A /* Names to predefine in the preprocessor for this target machine. */ -#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_200" +#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_200 -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" #if 0 /* It is incorrect to test these symbols. They describe the host, not the target. It should not matter which model is specified. */ #ifdef tower32_600 -#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_600" +#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_600 -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" #endif #ifdef tower32_700 -#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_700" +#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_700 -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" #endif #ifdef tower32_800 -#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_800" +#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_800 -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" #endif #ifdef tower32_850 -#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_850" +#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_850 -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" #endif #endif @@ -96,6 +97,12 @@ the Free Software Foundation, 675 Mass A "%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%a6", "%sp", \ "%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7"}; +#undef REGISTER_PREFIX +#define REGISTER_PREFIX "%" + +#undef IMMEDIATE_PREFIX +#define IMMEDIATE_PREFIX "&" + /* We do not want leading underscores. */ #undef ASM_OUTPUT_LABELREF