From: Sandra Loosemore Date: Wed, 12 Jun 2013 23:03:21 +0000 (+0000) Subject: 2013-06-12 Sandra Loosemore X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c8fe7cfe2690fb49f8aab4ba23ff1080fd8f113;p=binutils-gdb.git 2013-06-12 Sandra Loosemore include/opcode/ * nios2.h (OP_MATCH_ERET): Correct eret encoding. gas/testsuite/ * gas/nios2/tret.d: Correct eret encoding. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index ec9aff77bc9..b38bb43c6df 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-06-12 Sandra Loosemore + + * gas/nios2/tret.d: Correct eret encoding. + 2013-06-10 Maciej W. Rozycki * gas/mips/relax-bc1any.l: New test. diff --git a/gas/testsuite/gas/nios2/tret.d b/gas/testsuite/gas/nios2/tret.d index c6fc003b9bd..09bb09ac0f7 100644 --- a/gas/testsuite/gas/nios2/tret.d +++ b/gas/testsuite/gas/nios2/tret.d @@ -4,5 +4,4 @@ .*: +file format elf32-littlenios2 Disassembly of section .text: -0+0000 <[^>]*> e800083a eret - +0+0000 <[^>]*> ef80083a eret diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 7ed2c68743b..ecf4b113d64 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2013-06-12 Sandra Loosemore + + * nios2.h (OP_MATCH_ERET): Correct eret encoding. + 2013-05-22 Jürgen Urban * mips.h (M_LQC2_AB, M_SQC2_AB): New macros. diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h index 5f6cf6e26c9..aa670981903 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)