aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-12-03 23:42:59 +0000
committerIan Lance Taylor <ian@airs.com>1993-12-03 23:42:59 +0000
commitecb2d8879152891e3f072a42efe0804de3938bf9 (patch)
treee60e88936e608e97bf26e700570b5e2dcf838acc /bfd
parent47dddec52cda42c61519ace4b89af9a9b42330fa (diff)
downloadgdb-ecb2d8879152891e3f072a42efe0804de3938bf9.zip
gdb-ecb2d8879152891e3f072a42efe0804de3938bf9.tar.gz
gdb-ecb2d8879152891e3f072a42efe0804de3938bf9.tar.bz2
* config/solaris2.mh (HDEFINES): Remove -Dconst=
* hosts/solaris.h: If not __GNUC__, define const as empty.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/hosts/solaris2.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a0d0cb9..978eab0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 3 18:40:58 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * config/solaris2.mh (HDEFINES): Remove -Dconst=
+ * hosts/solaris.h: If not __GNUC__, define const as empty.
+
Thu Dec 2 15:43:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* ecoff.c: Added various casts for 32/64 bit cross targeting.
diff --git a/bfd/hosts/solaris2.h b/bfd/hosts/solaris2.h
index f423a1c..458ecc9 100644
--- a/bfd/hosts/solaris2.h
+++ b/bfd/hosts/solaris2.h
@@ -5,4 +5,10 @@
#ifndef __GNUC__
#include <alloca.h>
#endif
+
+#ifndef __GNUC__
+# get around a bug in the Sun C compiler
+#define const
+#endif
+
/* That's all... */