summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-06-12 23:03:20 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-06-12 23:03:20 +0000
commit6288cb9a93e8aef8225db8226ebde6c1ed6f30a6 (patch)
tree01d7917763f0537eb836f0c852fef63d08e9457b /include
parent5b0ddf7de07ab07fa79c751df29f4c0a7bdc57cb (diff)
downloadbinutils-redhat-6288cb9a93e8aef8225db8226ebde6c1ed6f30a6.tar.gz
2013-06-12 Sandra Loosemore <sandra@codesourcery.com>
include/opcode/ * nios2.h (OP_MATCH_ERET): Correct eret encoding. gas/testsuite/ * gas/nios2/tret.d: Correct eret encoding.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/nios2.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 7ed2c68743..ecf4b113d6 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-12 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2.h (OP_MATCH_ERET): Correct eret encoding.
+
2013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
* mips.h (M_LQC2_AB, M_SQC2_AB): New macros.
diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h
index 5f6cf6e26c..aa67098190 100644
--- a/include/opcode/nios2.h
+++ b/include/opcode/nios2.h
@@ -440,7 +440,7 @@ struct nios2_reg
#define OP_MATCH_SUB OPX_MATCH (OPX_SUB)
#define OP_MATCH_SYNC OPX_MATCH (OPX_SYNC)
#define OP_MATCH_TRAP ((0x1d << 17) | OPX_MATCH (OPX_TRAP))
-#define OP_MATCH_ERET (0xe8000000 | OPX_MATCH (OPX_ERET))
+#define OP_MATCH_ERET (0xef800000 | OPX_MATCH (OPX_ERET))
#define OP_MATCH_WRCTL OPX_MATCH (OPX_WRCTL)
#define OP_MATCH_WRPRS OPX_MATCH (OPX_WRPRS)
#define OP_MATCH_XOR OPX_MATCH (OPX_XOR)