This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] m32r-*-as For a code depended for host word size.
- From: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com, cgen at sources dot redhat dot com
- Date: Wed, 26 Oct 2005 14:39:35 +0900
- Subject: Re: [PATCH] m32r-*-as For a code depended for host word size.
- References: <434F6596.404@renesas.com>
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;