diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-18 19:23:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-18 19:23:53 +0000 |
commit | 85f341221b37b1b472419cc79f125a3fdd7643cc (patch) | |
tree | 6acede8969b1b6861b6d6104b6726e9d8551473b /gas | |
parent | 208bc89e0b7357c114ba300f36896516b87ca7c7 (diff) | |
download | gdb-85f341221b37b1b472419cc79f125a3fdd7643cc.zip gdb-85f341221b37b1b472419cc79f125a3fdd7643cc.tar.gz gdb-85f341221b37b1b472419cc79f125a3fdd7643cc.tar.bz2 |
* config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-m68k.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4f86c10..2d5da34 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 18 15:22:28 1995 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-m68k.c (s_reg): Ignore comment field in MRI mode. + Mon Sep 18 14:44:04 1995 Arne H. Juul <arnej@pvv.unit.no> * configure.in (mips-dec-netbsd*): New target. diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 25aabdc..d68ac46 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -4542,6 +4542,13 @@ s_reg (ignore) S_SET_VALUE (line_label, mask); line_label->sy_frag = &zero_address_frag; + if (flag_mri) + { + /* Ignore the comment field. */ + while (! is_end_of_line[(unsigned char) *input_line_pointer]) + ++input_line_pointer; + } + demand_empty_rest_of_line (); } |