diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 20:44:02 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 21:21:58 -0500 |
commit | d2704ed59bfa5fcfcc8d5441a837eff5312604a5 (patch) | |
tree | 9ef798e71bbd0ea4b34e2b13c1171f4143176a2f /sim/sh | |
parent | f64e47a22ca2a9c10c4ceb19b84d687f902fa725 (diff) | |
download | binutils-d2704ed59bfa5fcfcc8d5441a837eff5312604a5.zip binutils-d2704ed59bfa5fcfcc8d5441a837eff5312604a5.tar.gz binutils-d2704ed59bfa5fcfcc8d5441a837eff5312604a5.tar.bz2 |
sim: warnings: fix unused variable warnings
Leave the igen code in place as it's meant to be used with newer
(to-be-written) code ported from the ppc version.
The sh code isn't really necessary as the opcodes enums have been
maintained independently from here, and the lists are out-of-sync
already.
Diffstat (limited to 'sim/sh')
-rw-r--r-- | sim/sh/gencode.c | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c index 8246e894..b00a16a 100644 --- a/sim/sh/gencode.c +++ b/sim/sh/gencode.c @@ -2468,76 +2468,6 @@ static op ppi_tab[] = {0, 0} }; -/* Tables of things to put into enums for sh-opc.h */ -static -const char * const nibble_type_list[] = -{ - "HEX_0", - "HEX_1", - "HEX_2", - "HEX_3", - "HEX_4", - "HEX_5", - "HEX_6", - "HEX_7", - "HEX_8", - "HEX_9", - "HEX_A", - "HEX_B", - "HEX_C", - "HEX_D", - "HEX_E", - "HEX_F", - "REG_N", - "REG_M", - "BRANCH_12", - "BRANCH_8", - "DISP_8", - "DISP_4", - "IMM_4", - "IMM_4BY2", - "IMM_4BY4", - "PCRELIMM_8BY2", - "PCRELIMM_8BY4", - "IMM_8", - "IMM_8BY2", - "IMM_8BY4", - 0 -}; -static -const char * const arg_type_list[] = -{ - "A_END", - "A_BDISP12", - "A_BDISP8", - "A_DEC_M", - "A_DEC_N", - "A_DISP_GBR", - "A_DISP_PC", - "A_DISP_REG_M", - "A_DISP_REG_N", - "A_GBR", - "A_IMM", - "A_INC_M", - "A_INC_N", - "A_IND_M", - "A_IND_N", - "A_IND_R0_REG_M", - "A_IND_R0_REG_N", - "A_MACH", - "A_MACL", - "A_PR", - "A_R0", - "A_R0_GBR", - "A_REG_M", - "A_REG_N", - "A_SR", - "A_VBR", - "A_SSR", - "A_SPC", - 0, -}; - static int qfunc (const void *va, const void *vb) { |