diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-20 01:36:16 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-22 19:12:00 -0400 |
commit | 74b4e47aa64c64069928884d35a5bc255bfcf41d (patch) | |
tree | d8d6111ea6978e8b5ed31a7d7b06225082829cdd /gold/options.h | |
parent | 0a433ebc90ae1d3d86382757aa049a0e91bd5019 (diff) | |
download | gdb-74b4e47aa64c64069928884d35a5bc255bfcf41d.zip gdb-74b4e47aa64c64069928884d35a5bc255bfcf41d.tar.gz gdb-74b4e47aa64c64069928884d35a5bc255bfcf41d.tar.bz2 |
tc-sparc.c: get rid of wierd usage of strchr ()
This lets us avoid assigning a literal to a char *, and perhaps more
importantly makes it clearer what is going on here.
gas/ChangeLog:
2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
call with a switch.
Diffstat (limited to 'gold/options.h')
0 files changed, 0 insertions, 0 deletions