aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/hppa.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bc7173f..a88b765 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jun 30 16:49:12 1992 Fred Fish (fnf@cygnus.com)
+
+ * hppa.c: Apply John's standard fix to avoid "empty translation
+ unit" warnings from some ANSI-C compilers.
+
Thu Jun 25 04:39:25 1992 John Gilmore (gnu at cygnus.com)
* hosts/solaris2.h: Configure same as sysv4.
diff --git a/bfd/hppa.c b/bfd/hppa.c
index e376e23..9d6d4d7 100644
--- a/bfd/hppa.c
+++ b/bfd/hppa.c
@@ -636,4 +636,7 @@ _do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* hdrs
JUMP_TABLE(hppa)
};
-#endif
+#else /* notdef hp9000s800 */
+/* Prevent "empty translation unit" warnings from the idiots at X3J11. */
+static char ansi_c_idiots = 69;
+#endif /* hp9000s800 */