bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/13084] x86 assembler silently truncates 64bit value


From: hjl.tools at gmail dot com
Subject: [Bug gas/13084] x86 assembler silently truncates 64bit value
Date: Sun, 23 Sep 2012 15:22:24 +0000


http://sourceware.org/bugzilla/show_bug.cgi?id=13084



--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-23 15:22:24 
UTC ---

(In reply to comment #6)

> Oh, I see. I just changed integer_constant function to disallow 64-bit 
> constant

> in x32 mode and got fails on instructions like this:

> movq %rax,0xffffffffff332211

> from gas/testsuite/gas/i386/ilp32/x86-64.s

> Now I see that it's incorrect, and we need to disallow such values only if 
> they

> are going to be truncated when stored in symbol table.



Exactly.



-- 

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email

------- You are receiving this mail because: -------

You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]