* config/tc-sh.c (allow_dollar_register_prefix): New variable.
authorNick Clifton <nickc@redhat.com>
Thu, 6 Oct 2005 11:44:07 +0000 (11:44 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 6 Oct 2005 11:44:07 +0000 (11:44 +0000)
commit37dedf66338d1471695d1a0a7421ec281a0305f2
tree30c63f0c75961d2b66161b9427de0040aa2c65b7
parent8ba0209fdd114b94b4939d597b3b97ede83b4551
* 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]