[PATCH 1.5/7] gas: update lex_type[] also for .mri directives
Jan Beulich
jbeulich@suse.com
Fri Aug 16 09:23:14 GMT 2024
Doing this just from read_begin(), i.e. merely based on command line
options, can't be sufficient (assuming it's really relevant).
---
v2: New.
--- a/gas/read.c
+++ b/gas/read.c
@@ -2850,6 +2850,7 @@ s_mri (int ignore ATTRIBUTE_UNUSED)
#ifdef TC_M68K
flag_m68k_mri = 1;
#endif
+ lex_type['?'] = LEX_BEGIN_NAME | LEX_NAME;
}
else
{
@@ -2857,6 +2858,7 @@ s_mri (int ignore ATTRIBUTE_UNUSED)
#ifdef TC_M68K
flag_m68k_mri = 0;
#endif
+ lex_type['?'] = LEX_QM;
}
/* Operator precedence changes in m68k MRI mode, so we need to
More information about the Binutils
mailing list