tic54x: rename typedef of struct symbol_
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Thu, 19 May 2016 03:48:48 +0000 (23:48 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Mon, 23 May 2016 05:17:12 +0000 (01:17 -0400)
commit3d207518c117df7a6c58f20bc2693171b7690650
treea5ae08a83603df4524c2ed6cfe05383027e423a8
parent82418e18f81ea76deb633b7531f197b13e77bc8f
tic54x: rename typedef of struct symbol_

generic gas code has a struct symbol, and tic54x typedefs a struct to symbol.
This seems at least rather confusing, and it seems like target specific headers
shouldn't  put such generic names in the global namespace preventing other
generic code from using them.

opcodes/ChangeLog:

2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* tic54x-dis.c (sprint_mmr): Adjust.
* tic54x-opc.c: Likewise.

gas/ChangeLog:

2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* config/tc-tic54x.c (tic54x_mmregs): Adjust.
(md_begin): Likewise.
(encode_condition): Likewise.
(encode_cc3): Likewise.
(encode_cc2): Likewise.
(encode_operand): Likewise.
(tic54x_undefined_symbol): Likewise.

include/ChangeLog:

2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* opcode/tic54x.h (struct symbol_): typedef to tic54x_symbol instead of
plain symbol.
gas/ChangeLog
gas/config/tc-tic54x.c
include/ChangeLog
include/opcode/tic54x.h
opcodes/ChangeLog
opcodes/tic54x-dis.c
opcodes/tic54x-opc.c