barrett%hpisldab@HPLABS.HP.COM (Dave Barrett) (08/06/89)
*** tm-hp9k320.h.orig Sat Aug 5 23:24:34 1989 --- tm-hp9k320.h Sat Aug 5 13:30:53 1989 *************** *** 44,49 This will control the use of inline 68881 insns in certain macros. */ #ifdef HPUX_ASM /* __HPUX_ASM__ is needed because some programs, particularly GDB, need to know which assembler is being used so that the correct `asm' instructions can be used. */ --- 44,50 ----- This will control the use of inline 68881 insns in certain macros. */ #ifdef HPUX_ASM + /* __HPUX_ASM__ is needed because some programs, particularly GDB, need to know which assembler is being used so that the correct `asm' instructions can be used. */ *************** *** 47,55 /* __HPUX_ASM__ is needed because some programs, particularly GDB, need to know which assembler is being used so that the correct `asm' instructions can be used. */ - #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__} -D__HPUX_ASM__" - #define ASM_SPEC "%{m68000:+X}" - #else #if TARGET_DEFAULT & 02 --- 48,53 ----- /* __HPUX_ASM__ is needed because some programs, particularly GDB, need to know which assembler is being used so that the correct `asm' instructions can be used. */ #if TARGET_DEFAULT & 02 *************** *** 54,62 #if TARGET_DEFAULT & 02 /* -m68881 is the default */ ! #define CPP_SPEC \ ! "%{!msoft-float:-D__HAVE_68881__ }\ ! %{!ansi:%{m68000:-Dmc68000}%{mc68000:-Dmc68000}%{!mc68000:%{!m68000:-Dmc68020}}}" #else --- 52,61 ----- #if TARGET_DEFAULT & 02 /* -m68881 is the default */ ! #define CPP_SPEC "\ ! %{!msoft-float: -D__HAVE_68881__}\ ! %{!ansi:%{!mc68000:%{!m68000: -Dmc68020}}}\ ! -D__HPUX_ASM__" #else *************** *** 61,69 #else /* -msoft-float is the default */ ! #define CPP_SPEC \ ! "%{m68881:-D__HAVE_68881__ }\ ! %{!ansi:%{m68000:-Dmc68000}%{mc68000:-Dmc68000}%{!mc68000:%{!m68000:-Dmc68020}}}" #endif --- 60,69 ----- #else /* -msoft-float is the default */ ! #define CPP_SPEC "\ ! %{m68881: -D__HAVE_68881__}\ ! %{!ansi:%{!mc68000:%{!m68000: -Dmc68020}}}\ ! -D__HPUX_ASM__" #endif *************** *** 67,72 #endif /* -m68000 requires special flags to the assembler. */ #define ASM_SPEC \ --- 67,73 ----- #endif + #define ASM_SPEC "%{m68000:+X}" #else /* not HPUX_ASM */ *************** *** 68,73 #endif /* -m68000 requires special flags to the assembler. */ #define ASM_SPEC \ "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}" --- 69,92 ----- #define ASM_SPEC "%{m68000:+X}" + #else /* not HPUX_ASM */ + + #if TARGET_DEFAULT & 02 + + /* -m68881 is the default */ + #define CPP_SPEC "\ + %{!msoft-float: -D__HAVE_68881__}\ + %{!ansi:%{!mc68000:%{!m68000: -Dmc68020}}}" + + #else + + /* -msoft-float is the default */ + #define CPP_SPEC "\ + %{m68881: -D__HAVE_68881__}\ + %{!ansi:%{!mc68000:%{!m68000: -Dmc68020}}}" + + #endif + /* -m68000 requires special flags to the assembler. */ #define ASM_SPEC \ "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}" *************** *** 77,83 #define STANDARD_STARTFILE_PREFIX "/usr/local/lib/gnu/" #endif ! #endif /* Names to predefine in the preprocessor for this target machine (for non-strict-ANSI programs only). */ --- 96,102 ----- #define STANDARD_STARTFILE_PREFIX "/usr/local/lib/gnu/" #endif ! #endif /* not HPUX_ASM */ /* Names to predefine in the preprocessor for this target machine (for non-strict-ANSI programs only). */ *************** *** 82,88 /* Names to predefine in the preprocessor for this target machine (for non-strict-ANSI programs only). */ ! #define CPP_PREDEFINES "-Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dhpux -Dunix" /* Every structure or union's size must be a multiple of 2 bytes. */ --- 101,107 ----- /* Names to predefine in the preprocessor for this target machine (for non-strict-ANSI programs only). */ ! #define CPP_PREDEFINES "-Dhp9000s200 -Dhp9000s300 -DPWB -Dm68k -Dmc68000 -Dhpux -Dunix" /* Every structure or union's size must be a multiple of 2 bytes. */ *************** *** 561,567 { fprintf ((FILE), "mov"); (PTR) += 4; } \ } ! /* Prevent output of `gcc_compiled.:'. #define ASM_IDENTIFY_GCC(FILE) --- 580,586 ----- { fprintf ((FILE), "mov"); (PTR) += 4; } \ } ! /* Prevent output of `gcc_compiled.:'. */ #define ASM_IDENTIFY_GCC(FILE)