aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.c
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2018-05-07 09:40:59 -0500
committerPeter Bergner <bergner@vnet.ibm.com>2018-05-07 09:40:59 -0500
commit2ceb7719f763b9e541a379d8ac7d53a72794fdd4 (patch)
treec8670b17f7f33270471dd6dbf6e750485b96e6e0 /opcodes/i386-opc.c
parentce4ec1a9b6c442a9feefa18dd8734372a718665c (diff)
downloadgdb-2ceb7719f763b9e541a379d8ac7d53a72794fdd4.zip
gdb-2ceb7719f763b9e541a379d8ac7d53a72794fdd4.tar.gz
gdb-2ceb7719f763b9e541a379d8ac7d53a72794fdd4.tar.bz2
Cleanup ppc code dealing with opcode dumps.
include/ * opcode/ppc.h (powerpc_num_opcodes): Change type to unsigned. (vle_num_opcodes): Likewise. (spe2_num_opcodes): Likewise. opcodes/ * ppc-opc.c (powerpc_num_opcodes): Likewise. (vle_num_opcodes): Likewise. (spe2_num_opcodes): Likewise. * ppc-dis.c (disassemble_init_powerpc) <powerpc_opcd_indices>: Rewrite initialization loop. (disassemble_init_powerpc) <vle_opcd_indices>: Likewise. (disassemble_init_powerpc) <spe2_opcd_indices>: Likewise. Initialize only once. gas/ * config/tc-ppc.c (ppc_setup_opcodes) <powerpc_opcodes>: Rewrite code to dump the entire opcode table. (ppc_setup_opcodes) <spe2_opcodes>: Likewise. (ppc_setup_opcodes) <vle_opcodes>: Likewise. Fix calculation of opcode index.
Diffstat (limited to 'opcodes/i386-opc.c')
0 files changed, 0 insertions, 0 deletions