summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-11-11 20:47:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-11-11 20:47:57 +0000
commit1902dc75d58f98d8ba602b2dc12f35a9d91f5445 (patch)
tree905f9abdb19385bd5e74afcf165072d5b3be58ea
parentae159da72407b4bddb618661bf1c98b2bd7430f3 (diff)
Recognize "uahalf" and "uaword" statement, as synonyms for "half" and "word"
(the a.out assembler doesn't enforce alignment for "half" and "word" data). Needed because gcc 3 will produce such statements.
-rw-r--r--gnu/usr.bin/gas/config/tc-m88k.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/gas/config/tc-m88k.c b/gnu/usr.bin/gas/config/tc-m88k.c
index 8d04ddd95e2..1cc85049dd6 100644
--- a/gnu/usr.bin/gas/config/tc-m88k.c
+++ b/gnu/usr.bin/gas/config/tc-m88k.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tc-m88k.c,v 1.5 2001/12/27 00:49:47 miod Exp $ */
+/* $OpenBSD: tc-m88k.c,v 1.6 2012/11/11 20:47:56 miod Exp $ */
/* m88k.c -- Assembler for the Motorola 88000
Contributed by Devon Bowen of Buffalo University
@@ -171,6 +171,8 @@ const pseudo_typeS md_pseudo_table[] = {
{"half", cons, 2 },
{"bss", s_bss, 0},
{"string", stringer, 0},
+ {"uahalf", cons, 2 },
+ {"uaword", cons, 4 },
{"word", cons, 4 },
{"zero", s_space, 0},
{0}