Fix sparc-elf bugs stemming from solaris2 changes.
authorJim Wilson <wilson@cygnus.com>
Wed, 3 Mar 1999 19:19:29 +0000 (19:19 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 3 Mar 1999 19:19:29 +0000 (11:19 -0800)
* sparc/elf.h (MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL,
MODDI3_LIBCALL, UMODDI3_LIBCALL, STDC_0_IN_SYSTEM_HEADERS): Undef.
(INIT_SUBTARGET_OPTABS): Define to empty.

From-SVN: r25564

gcc/ChangeLog
gcc/config/sparc/elf.h

index 03315c63f8cb2564833bd4d881fb16fd2a1a215a..7a3bddd9ceb9a0138d00c3357861115b380578f8 100644 (file)
@@ -1,3 +1,9 @@
+Wed Mar  3 19:09:11 1999  Jim Wilson  <wilson@cygnus.com>
+
+       * sparc/elf.h (MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL,
+       MODDI3_LIBCALL, UMODDI3_LIBCALL, STDC_0_IN_SYSTEM_HEADERS): Undef.
+       (INIT_SUBTARGET_OPTABS): Define to empty.       
+
 Wed Mar  3 00:00:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
 
        * sh.c (force_into): New function.
index 70cb26a93be83b3eb4ea7c43cb7657bfe407002b..635238f5b1f2f141ac504b1f9619c71311ad035f 100644 (file)
@@ -40,3 +40,19 @@ Boston, MA 02111-1307, USA.  */
 /* FIXME: until fixed */
 #undef LONG_DOUBLE_TYPE_SIZE
 #define LONG_DOUBLE_TYPE_SIZE 64
+
+/* This solaris2 define does not apply.  */
+#undef STDC_0_IN_SYSTEM_HEADERS
+
+/* We don't want to use the Solaris2 specific long long int conversion
+   routines.  */
+#undef INIT_SUBTARGET_OPTABS
+#define INIT_SUBTARGET_OPTABS
+
+/* ??? We haven't added Solaris2 equivalent 64 bit library routines to
+   lb1sp*.asm, so we need to avoid using them.  */
+#undef MULDI3_LIBCALL
+#undef DIVDI3_LIBCALL
+#undef UDIVDI3_LIBCALL
+#undef MODDI3_LIBCALL
+#undef UMODDI3_LIBCALL