aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-16 01:00:45 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-08 18:26:08 -0500
commitbfd428bc12af433831a4c7e9a0e692f21a9adf5e (patch)
tree6643cfec9aea9190d6d52a4832b37400ca2fc126 /include
parent3d4aae4860c41aeaab7a8d3daefe0fb50b40f4c6 (diff)
downloadgdb-bfd428bc12af433831a4c7e9a0e692f21a9adf5e.zip
gdb-bfd428bc12af433831a4c7e9a0e692f21a9adf5e.tar.gz
gdb-bfd428bc12af433831a4c7e9a0e692f21a9adf5e.tar.bz2
opcodes: tic54x: namespace exported variables
The tic54x exports some fairly generic variable names that can conflict with programs that use them, so put proper tic54x_ prefixes on all of them.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog17
-rw-r--r--include/opcode/tic54x.h8
2 files changed, 21 insertions, 4 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 09a3ad9..18237b5 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,20 @@
+2021-02-08 Mike Frysinger <vapier@gentoo.org>
+
+ * opcode/tic54x.h (mmregs): Rename to ...
+ (tic54x_mmregs): ... this.
+ (regs): Rename to ...
+ (tic54x_regs): ... this.
+ (condition_codes): Rename to ...
+ (tic54x_condition_codes): ... this.
+ (cc2_codes): Rename to ...
+ (tic54x_cc2_codes): ... this.
+ (status_bits): Rename to ...
+ (tic54x_status_bits): ... this.
+ (cc3_codes): Rename to ...
+ (tic54x_cc3_codes): ... this.
+ (misc_symbols): Rename to ...
+ (tic54x_misc_symbols): ... this.
+
2021-02-05 Nelson Chu <nelson.chu@sifive.com>
PR 27348
diff --git a/include/opcode/tic54x.h b/include/opcode/tic54x.h
index 8e0dd7e..4567ca8 100644
--- a/include/opcode/tic54x.h
+++ b/include/opcode/tic54x.h
@@ -152,10 +152,10 @@ typedef struct _template
extern const insn_template tic54x_unknown_opcode;
extern const insn_template tic54x_optab[];
extern const insn_template tic54x_paroptab[];
-extern const tic54x_symbol mmregs[], regs[];
-extern const tic54x_symbol condition_codes[], cc2_codes[], status_bits[];
-extern const tic54x_symbol cc3_codes[];
-extern const char *misc_symbols[];
+extern const tic54x_symbol tic54x_mmregs[], tic54x_regs[];
+extern const tic54x_symbol tic54x_condition_codes[], tic54x_cc2_codes[];
+extern const tic54x_symbol tic54x_status_bits[], tic54x_cc3_codes[];
+extern const char *tic54x_misc_symbols[];
struct disassemble_info;
extern const insn_template* tic54x_get_insn (struct disassemble_info *,
bfd_vma, unsigned short, int *);