[patch] HPPA: NetBSD needs LABELS_WITHOUT_COLONS

Matt Fredette fredette@theory.lcs.mit.edu
Sat Jul 6 15:27:00 GMT 2002


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]



More information about the Binutils mailing list