diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-08-01 22:05:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-08-01 22:05:53 +0000 |
commit | 3402a3dbc8a90cb826c83c6560a135f4668d83f0 (patch) | |
tree | 6341041603da5ce6d24cb238dff63c64d32227ab /gnu/usr.bin/gas/read.c | |
parent | 8327c54231785fc6d95c26b14198cf8880de1713 (diff) |
Add `newer' gas balign/p2align/2bytes/4bytes.
Checked by me on i386, miod@ on m68k (LOTS of thanks).
fgs@ was last seen trying it on sparc a long time ago.
I know that sparcs are slow, but this is ridiculous.
Nobody else moved, so 8-P
Diffstat (limited to 'gnu/usr.bin/gas/read.c')
-rw-r--r-- | gnu/usr.bin/gas/read.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/gas/read.c b/gnu/usr.bin/gas/read.c index 35ea5a00c46..dbc495126f0 100644 --- a/gnu/usr.bin/gas/read.c +++ b/gnu/usr.bin/gas/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.8 1998/11/01 01:38:13 smurph Exp $ */ +/* $OpenBSD: read.c,v 1.9 2001/08/01 22:05:52 espie Exp $ */ /* read.c - read a source file - @@ -21,7 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef lint -static char rcsid[] = "$OpenBSD: read.c,v 1.8 1998/11/01 01:38:13 smurph Exp $"; +static char rcsid[] = "$OpenBSD: read.c,v 1.9 2001/08/01 22:05:52 espie Exp $"; #endif #define MASK_CHAR (0xFF) /* If your chars aren't 8 bits, you will @@ -194,10 +194,13 @@ struct hash_control * static const pseudo_typeS potable[] = { + { "2bytes", cons, 2 }, + { "4bytes", cons, 4 }, { "abort", s_abort, 0 }, { "align", s_align_ptwo, 0 }, { "ascii", stringer, 0 }, { "asciz", stringer, 1 }, + { "balign", s_align_bytes, 0 }, /* block */ { "byte", cons, 1 }, { "comm", s_comm, 0 }, @@ -251,6 +254,7 @@ static const pseudo_typeS #endif /* NO_LISTING */ { "octa", big_cons, 16 }, { "org", s_org, 0 }, + { "p2align", s_align_ptwo, 0 }, #ifdef NO_LISTING { "psize", s_ignore, 0 }, /* set paper size */ #else |