dupuy@CS.COLUMBIA.EDU (Alexander Dupuy) (01/28/89)
The tm-sun2.h file incorrectly defines -D_HAVE_68881_ unless -msoft-float is given, whereas it should not be defining this flag by default, as no Sun-2s have 68881's. Here's the diff: @alex *** /tmp/,RCSt1a10971 Fri Jan 27 15:53:21 1989 --- tm-sun2.h Fri Jan 27 15:51:31 1989 *************** *** 25,35 **** #define TARGET_DEFAULT 0 ! /* Define __HAVE_FPU__ in preprocessor, unless -msoft-float is specified. This will control the use of inline 68881 insns in certain macros. Also inform the program which CPU this is for. */ ! #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__} \ %{!ansi:%{m68020:-Dmc68020}%{mc68020:-Dmc68020}%{!mc68020:%{!m68020:-Dmc68010}}}" /* -m68020 requires special flags to the assembler. */ --- 25,35 ---- #define TARGET_DEFAULT 0 ! /* Define __HAVE_68881 in preprocessor only if -m68881 is specified. This will control the use of inline 68881 insns in certain macros. Also inform the program which CPU this is for. */ ! #define CPP_SPEC "%{m68881:-D__HAVE_68881__} \ %{!ansi:%{m68020:-Dmc68020}%{mc68020:-Dmc68020}%{!mc68020:%{!m68020:-Dmc68010}}}" /* -m68020 requires special flags to the assembler. */ -- inet: dupuy@cs.columbia.edu uucp: ...!rutgers!cs.columbia.edu!dupuy