aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/nios2.h
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2014-11-28 14:41:32 -0800
committerSandra Loosemore <sandra@codesourcery.com>2014-11-28 14:41:32 -0800
commitd306ce58b4c7d544721ba328c447240cb2228fe5 (patch)
tree70459796d4bf71af113f8a509653a72482ebad35 /include/opcode/nios2.h
parentd7fc3181f73ab3d5549b396198645558127e0584 (diff)
downloadgdb-d306ce58b4c7d544721ba328c447240cb2228fe5.zip
gdb-d306ce58b4c7d544721ba328c447240cb2228fe5.tar.gz
gdb-d306ce58b4c7d544721ba328c447240cb2228fe5.tar.bz2
Remove broken nios2 assembler dwim support.
2014-11-28 Sandra Loosemore <sandra@codesourcery.com> include/opcode/ * nios2.h (NIOS2_INSN_ADDI, NIOS2_INSN_ANDI): Delete. (NIOS2_INSN_ORI, NIOS2_INSN_XORI): Delete. (NIOS2_INSN_OPTARG): Renumber. opcodes/ * nios2-opc.c (nios2_r1_opcodes): Remove deleted attributes from descriptors. gas/ * config/tc-nios2.c (can_evaluate_expr, get_expr_value): Delete. (output_addi, output_andi, output_ori, output_xori): Delete. (md_assemble): Remove calls to deleted functions. gas/testsuite/ * gas/nios2/nios2.exp: Make "movi" a list test. * gas/nios2/movi.s: Adjust comments, add another case. * gas/nios2/movi.l: New. * gas/nios2/movi.d: Delete.
Diffstat (limited to 'include/opcode/nios2.h')
-rw-r--r--include/opcode/nios2.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h
index 6b4c2f5..6df9702 100644
--- a/include/opcode/nios2.h
+++ b/include/opcode/nios2.h
@@ -120,12 +120,7 @@ struct nios2_opcode
#define NIOS2_INSN_CBRANCH 0x00000020
#define NIOS2_INSN_CALL 0x00000040
-#define NIOS2_INSN_ADDI 0x00000080
-#define NIOS2_INSN_ANDI 0x00000100
-#define NIOS2_INSN_ORI 0x00000200
-#define NIOS2_INSN_XORI 0x00000400
-
-#define NIOS2_INSN_OPTARG 0x00000800
+#define NIOS2_INSN_OPTARG 0x00000080
/* Register attributes. */
#define REG_NORMAL (1<<0) /* Normal registers. */