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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|X32 assembler silently      |x86 assembler silently
                   |truncates 64bit value       |truncates 64bit value

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-12 20:04:31 
UTC ---
The same thing happens to ia32 assembler:

[hjl@gnu-6 pr13084]$ cat x.s
     .equ    sym, 0x1234567890
            .global sym
[hjl@gnu-6 pr13084]$ make ASFLAGS=--32
./as --32 -o x.o x.s
readelf -s --wide x.o

Symbol table '.symtab' contains 5 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 00000000     0 SECTION LOCAL  DEFAULT    1 
     2: 00000000     0 SECTION LOCAL  DEFAULT    2 
     3: 00000000     0 SECTION LOCAL  DEFAULT    3 
     4: 34567890     0 NOTYPE  GLOBAL DEFAULT  ABS sym
[hjl@gnu-6 pr13084]$

-- 
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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to