Article View: gnu.gcc.bug
Article #2215Sun-2 support in GCC
From: Alexander Dupuy
Date: Fri, 27 Jan 1989 20:54
Date: Fri, 27 Jan 1989 20:54
36 lines
1730 bytes
1730 bytes
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
Technical Details
Message-ID:
<8901272054.AA11036@cs.columbia.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!mailrus!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!dupuyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!mailrus!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!dupuy From: dupuy@CS.COLUMBIA.EDU (Alexander Dupuy) Newsgroups: gnu.gcc.bug Subject: Sun-2 support in GCC Message-ID: <8901272054.AA11036@cs.columbia.edu> Date: 27 Jan 89 20:54:59 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: dupuy@cs.columbia.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36