Your ld changes caused cris-axis-elf regressions

H. J. Lu hjl@lucon.org
Thu Mar 24 03:57:00 GMT 2005


On Wed, Mar 23, 2005 at 06:37:14AM +0100, Hans-Peter Nilsson wrote:
> > Date: Tue, 22 Mar 2005 21:31:21 -0800
> > From: "H. J. Lu" <hjl@lucon.org>
> 
> > BTW, I got many gas failures for cris-elf on Linux/x86_64. Is cris-elf
> > 64bit clean? Please fix gas failures first. I will update ld-cris tests
> > later.
> 
> I have some prior knowledge of some of the GAS failures; those
> are benevolent.  But I'll have another look.  Thanks for looking
> into it.
> 
> (Now I know why they called it DejaGNU. :-)
> 

I checked the following patch to fix cris dissambler on 64bit host.
I also updated ld-cris tests.

BTW, I still got some gas failures.

H.J.
----
2005-03-23  H.J. Lu  <hongjiu.lu@intel.com>

	* cris-dis.c (print_with_operands): Use ~31L for long instead
	of ~31.

--- cris-dis.c.64	2005-03-03 08:55:56.000000000 -0800
+++ cris-dis.c	2005-03-23 11:18:28.949308548 -0800
@@ -1375,7 +1375,7 @@ print_with_operands (opcodep, insn, buff
       break;
 
     case 'i':
-      tp = format_dec ((insn & 32) ? (insn & 31) | ~31 : insn & 31, tp, 1);
+      tp = format_dec ((insn & 32) ? (insn & 31) | ~31L : insn & 31, tp, 1);
       break;
 
     case 'P':



More information about the Binutils mailing list