This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] m32r-*-as For a code depended for host word size.


Hi Nick,

This patch is to fix FAIL at testsuite/gas/m32r/seth on x86_64 host.

Please commit it and regenerate opcodes/m32r-asm.c.

Regards,
Kazuhiro Inaoka

ChangeLog

2005-10-26 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

   * cpu/m32r.opc (parse_hi16): Do not assume a 32-bit host word
   size.

Index: m32r.opc
===================================================================
RCS file: /cvs/src/src/cpu/m32r.opc,v
retrieving revision 1.9
diff -p -u -r1.9 m32r.opc
--- m32r.opc	19 Oct 2005 14:44:17 -0000	1.9
+++ m32r.opc	26 Oct 2005 05:24:14 -0000
@@ -144,6 +144,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
         {
           value = value + (value & 0x8000 ? 0x10000 : 0);
           value >>= 16;
+          value &= 0xffff;
         }
       *valuep = value;
       return errmsg;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]