binutils-gdb/include/opcode
Yao Qi 875880c661 Avoid using 'template' C++ keyword
'template' is used in include/opcode/aarch64.h as below,

 typedef struct
 {
   const char *template;
   uint32_t value;
   int has_xt;
 } aarch64_sys_ins_reg;

and it triggers compilation errors when GDB is built in C++ mode.

In file included from git/gdb/aarch64-tdep.c:62:0:
git/gdb/../include/opcode/aarch64.h:651:15: error: expected unqualified-id before 'template'
   const char *template;

This patch is to rename field template to name.

gas/

	* config/tc-aarch64.c (md_begin): Access field 'name' rather
	than 'template'.

include/opcode/

	* aarch64.h (aarch64_sys_ins_reg) <template>: Removed.
	<name>: New field.

opcodes/

	* aarch64-dis.c (aarch64_ext_sysins_op): Access field
	'name' rather than 'template'.
	* aarch64-opc.c (aarch64_print_operand): Likewise.
2015-10-07 15:22:47 +01:00
..
aarch64.h Avoid using 'template' C++ keyword 2015-10-07 15:22:47 +01:00
alpha.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
arc-func.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arm.h [ARM] Support correctly spelled ARMv6KZ architecture names 2015-07-21 09:43:35 +01:00
avr.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
bfin.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cgen.h Wrap a few opcodes headers in extern "C" for C++ 2015-02-19 22:45:47 +00:00
ChangeLog Avoid using 'template' C++ keyword 2015-10-07 15:22:47 +01:00
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:03 +00:00
convex.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cr16.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cris.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
crx.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
d10v.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
d30v.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
dlx.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ft32.h FT32: define macros for instruction recognition. 2015-09-28 11:23:54 -07:00
h8300.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
hppa.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i370.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i386.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i860.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i960.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ia64.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68hc11.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68k.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m88k.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
metag.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mips.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmix.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mn10200.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mn10300.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
moxie.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
msp430-decode.h Wrap a few opcodes headers in extern "C" for C++ 2015-02-19 22:45:47 +00:00
msp430.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nds32.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nios2.h Opcodes and assembler support for Nios II R2 2015-07-01 16:08:03 -07:00
nios2r1.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nios2r2.h Opcodes and assembler support for Nios II R2 2015-07-01 16:08:03 -07:00
np1.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ns32k.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pdp11.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pj.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pn.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ppc.h Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
pyr.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
rl78.h Make RL78 disassembler and simulator respect ISA for mul/div 2015-04-30 15:25:49 -04:00
rx.h Enhance the RX disassembler to detect and report bad instructions. 2015-09-22 17:21:13 +01:00
s390.h Add support for extensions in the .machine pseudoop on S/390, e.g. ".machine zEC12+nohtm+vx" 2015-09-29 13:22:07 +01:00
score-datadep.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
score-inst.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sparc.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
spu-insns.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
spu.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tahoe.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic4x.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic6x-control-registers.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic6x-insn-formats.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic6x-opcode-table.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic6x.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic30.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic54x.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic80.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tilegx.h Wrap a few opcodes headers in extern "C" for C++ 2015-02-19 22:45:47 +00:00
tilepro.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
v850.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
vax.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
visium.h Make register name tables in visium.h static in order to prevent multiple definitions. 2015-09-09 14:50:08 +01:00
xgate.h ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30