This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] HPPA: NetBSD needs LABELS_WITHOUT_COLONS
- From: Matt Fredette <fredette at theory dot lcs dot mit dot edu>
- To: binutils at sources dot redhat dot com
- Cc: fredette at netbsd dot org
- Date: Sat, 6 Jul 2002 15:29:01 -0400 (EDT)
- Subject: [patch] HPPA: NetBSD needs LABELS_WITHOUT_COLONS
Hi. NetBSD needs LABELS_WITHOUT_COLONS defined in gas/config/tc-hppa.h.
Patch follows, thanks -
Matt
--
Matt Fredette
[snip]
2002-07-06 Matt Fredette <fredette@netbsd.org>
* config/tc-hppa.h: Also define LABELS_WITHOUT_COLONS if TE_NetBSD.
[snip]
[snip]
--- gas/config/tc-hppa.h 2002/06/10 22:37:15 1.1.1.1
+++ gas/config/tc-hppa.h 2002/07/06 19:25:43 1.4
@@ -77,6 +77,13 @@
#define WARN_COMMENTS 1
#endif
+#ifdef TE_NetBSD
+/* XXX the original OpenBSD code has labels without colons,
+ so this is required, for now -- fredette@netbsd.org */
+/* Labels are not required to have a colon for a suffix. */
+#define LABELS_WITHOUT_COLONS 1
+#endif
+
/* FIXME. Why oh why aren't these defined somewhere globally? */
#ifndef FALSE
#define FALSE (0)
[snip]