aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-11 23:49:17 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-11 23:49:17 +0000
commit19be7c0800cf0457a1faa31227b065b38450a120 (patch)
tree78e0fe004df60155d54c6347bc4ec8d5d7fcf896 /gas/doc
parent74a86d1f9502ec8197c377a3eee7cf929f3a0f9e (diff)
downloadgdb-19be7c0800cf0457a1faa31227b065b38450a120.zip
gdb-19be7c0800cf0457a1faa31227b065b38450a120.tar.gz
gdb-19be7c0800cf0457a1faa31227b065b38450a120.tar.bz2
* gasp.c (change_base): Don't treat ' specially in MRI mode.
(process_file): Don't warn about missing END in MRI mode. (do_if): New static function. (get_mri_string, do_ifc): New static functions. (buffer_and_nest): Treat MRI mode like alternate syntax mode. (do_aendr): Change error message in MRI mode. (do_arepeat): Use REPT/ENDR in MRI mode. (do_formals): In MRI mode, add special NARG formal. (macro_expand): Various changes for MRI mode: permit a qualifier on the macro name; set special NARG formal; permit unnamed positional arguments; use && to concatenate named parameters; permit \d to specify an unnamed parameter; permit named parameters to not start with \; use == to see if a parameter exists. (getstring): In MRI mode, allow <> to quote a string. (K_IFEQ, K_IFNE, K_IFLT, K_IFLE, K_IFGE, K_IFGT): Define. (K_IFC, K_IFNC): Define. (struct keyword): Name structure used in kinfo array. (mrikinfo): New static array. (process_pseudo_op): Don't require leading '.' in MRI mode. Handle new MRI pseudo-op definitions. (add_keyword): New static function, broken out of process_init. (process_init): Use add_keyword. In MRI mode, add mrikinfo table. (long_options): Add "mri". (show_usage): Mention -M/--mri. (main): Call process_init after processing arguments. Handle -M. * doc/gasp.texi: Document -M/--mri.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/gasp.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/doc/gasp.texi b/gas/doc/gasp.texi
index d828aaf..32ab63d 100644
--- a/gas/doc/gasp.texi
+++ b/gas/doc/gasp.texi
@@ -167,7 +167,7 @@ possibilities for the @sc{gasp} command line.
@example
gasp [ -a | --alternate ]
[ -c @var{char} | --commentchar @var{char} ]
- [ -d | --debug ] [ -h | --help ]
+ [ -d | --debug ] [ -h | --help ] [ -M | --mri ]
[ -o @var{outfile} | --output @var{outfile} ]
[ -p | --print ] [ -s | --copysource ]
[ -u | --unreasonable ] [ -v | --version ]
@@ -228,6 +228,12 @@ done preprocessing.
@itemx --help
Display a summary of the @sc{gasp} command line options.
+@item -M
+@itemx --mri
+Use MRI compatibility mode. Using this option causes @sc{gasp} to
+accept the syntax and pseudo-ops used by the Microtec Research
+@code{ASM68K} assembler.
+
@item -o @var{outfile}
@itemx --output @var{outfile}
Write the output in a file called @var{outfile}. If you do not use the