* config/tc-sh.c (allow_dollar_register_prefix): New variable.
commit33a99cd27630f697ef9e4307fe7b7c4b9d42691f
authorNick Clifton <nickc@redhat.com>
Thu, 6 Oct 2005 11:44:07 +0000 (6 11:44 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 6 Oct 2005 11:44:07 +0000 (6 11:44 +0000)
tree944f024cf9e7edf40ea50716e2b8f25b621ccb1a
parent07278d449936be6e4e7009d802e3a6a3f5c2e249
* config/tc-sh.c (allow_dollar_register_prefix): New variable.
  (parse_reg_without_prefix): New function.
  (parse_reg): Check for '$' register prefix if --allow-reg-prefix is set.
  (option md_longopts): Add allow-reg-prefix option.
* doc/c-sh.texi: Document --allow-reg-prefix option.
* NEWS: Mention the new switch.

* gas/sh/basic.exp:  Run reg-prefix test.
* gas/sh/reg-prefix.s: New
* gas/sh/reg-prefix.d: New
gas/ChangeLog
gas/NEWS
gas/config/tc-sh.c
gas/doc/c-sh.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/sh/basic.exp
gas/testsuite/gas/sh/reg-prefix.d [new file with mode: 0644]
gas/testsuite/gas/sh/reg-prefix.s [new file with mode: 0644]