aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1999-03-03 19:19:29 +0000
committerJim Wilson <wilson@gcc.gnu.org>1999-03-03 11:19:29 -0800
commit9f89a6c5fa69772408a845337faea3890264e0dc (patch)
tree5ca0b9dc5563259fcbc5d8aab42cfe5ac0e28575 /gcc
parente9659ab02f24b779faef0e0c6481af6a7d5a7882 (diff)
downloadgcc-9f89a6c5fa69772408a845337faea3890264e0dc.zip
gcc-9f89a6c5fa69772408a845337faea3890264e0dc.tar.gz
gcc-9f89a6c5fa69772408a845337faea3890264e0dc.tar.bz2
Fix sparc-elf bugs stemming from solaris2 changes.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sparc/elf.h16
2 files changed, 22 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 03315c6..7a3bddd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sparc/elf.h b/gcc/config/sparc/elf.h
index 70cb26a..635238f 100644
--- a/gcc/config/sparc/elf.h
+++ b/gcc/config/sparc/elf.h
@@ -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