[Top][All Lists]
[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: |
Fri, 12 Aug 2011 20:04:31 +0000 |
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:
address@hidden pr13084]$ cat x.s
.equ sym, 0x1234567890
.global sym
address@hidden 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
address@hidden 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.