diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-18 23:48:48 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-23 01:17:12 -0400 |
commit | 3d207518c117df7a6c58f20bc2693171b7690650 (patch) | |
tree | a5ae08a83603df4524c2ed6cfe05383027e423a8 /opcodes/tic54x-dis.c | |
parent | 82418e18f81ea76deb633b7531f197b13e77bc8f (diff) | |
download | gdb-3d207518c117df7a6c58f20bc2693171b7690650.zip gdb-3d207518c117df7a6c58f20bc2693171b7690650.tar.gz gdb-3d207518c117df7a6c58f20bc2693171b7690650.tar.bz2 |
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.
Diffstat (limited to 'opcodes/tic54x-dis.c')
-rw-r--r-- | opcodes/tic54x-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/tic54x-dis.c b/opcodes/tic54x-dis.c index 804e083..e12349d 100644 --- a/opcodes/tic54x-dis.c +++ b/opcodes/tic54x-dis.c @@ -530,7 +530,7 @@ sprint_mmr (disassemble_info *info ATTRIBUTE_UNUSED, char buf[], int mmr) { - symbol *reg = (symbol *) mmregs; + tic54x_symbol *reg = (tic54x_symbol *) mmregs; while (reg->name != NULL) { if (mmr == reg->value) |