mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* 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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user