Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/gas/config Fix trap_zero_jump fo...



details:   https://anonhg.NetBSD.org/src/rev/1166a5baa131
branches:  trunk
changeset: 790240:1166a5baa131
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Sep 29 20:13:42 2013 +0000

description:
Fix trap_zero_jump for new binutils.

XXX someone who really understand this should check it.

diffstat:

 external/gpl3/binutils/dist/gas/config/tc-mips.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8533c177bdf4 -r 1166a5baa131 external/gpl3/binutils/dist/gas/config/tc-mips.c
--- a/external/gpl3/binutils/dist/gas/config/tc-mips.c  Sun Sep 29 17:51:42 2013 +0000
+++ b/external/gpl3/binutils/dist/gas/config/tc-mips.c  Sun Sep 29 20:13:42 2013 +0000
@@ -3644,7 +3644,7 @@
       if (mips_opts.warn_about_macros)
         return;
 
-      sreg = EXTRACT_OPERAND (RS, *ip);
+      sreg = EXTRACT_OPERAND (0, RS, *ip);
       if (mips_opts.isa == ISA_MIPS32
           || mips_opts.isa == ISA_MIPS32R2
           || mips_opts.isa == ISA_MIPS64



Home | Main Index | Thread Index | Old Index