aboutsummaryrefslogtreecommitdiff
path: root/gas/macro.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-08-13 19:53:52 +0000
committerNick Clifton <nickc@redhat.com>2004-08-13 19:53:52 +0000
commitcaa32fe507720347f37e2d060d64a89d96928db1 (patch)
treeaa7df1d5f68e3c802562c84a7f3678e14c6b7616 /gas/macro.c
parenta21de0dadf0ad4334afe22bc14ff1811b795190f (diff)
downloadgdb-caa32fe507720347f37e2d060d64a89d96928db1.zip
gdb-caa32fe507720347f37e2d060d64a89d96928db1.tar.gz
gdb-caa32fe507720347f37e2d060d64a89d96928db1.tar.bz2
Add and handle new --alternate command line option.
Diffstat (limited to 'gas/macro.c')
-rw-r--r--gas/macro.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/macro.c b/gas/macro.c
index 0991744..1a89cc8 100644
--- a/gas/macro.c
+++ b/gas/macro.c
@@ -132,6 +132,15 @@ macro_init (int alternate, int mri, int strip_at,
macro_expr = expr;
}
+/* Switch in and out of alternate mode on the fly. */
+
+void
+macro_set_alternate(alternate)
+ int alternate;
+{
+ macro_alternate = alternate;
+}
+
/* Switch in and out of MRI mode on the fly. */
void