bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/13084] New: X32 assembler silently truncates 64bit value


From: hjl.tools at gmail dot com
Subject: [Bug gas/13084] New: X32 assembler silently truncates 64bit value
Date: Fri, 12 Aug 2011 14:48:56 +0000

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

             Bug #: 13084
           Summary: X32 assembler silently truncates 64bit value
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


address@hidden tmp]$ cat y.s
     .equ    sym, 0x1234567890
            .global sym
address@hidden tmp]$ as --x32 -o y.o y.s         
address@hidden tmp]$ readelf -s y.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 tmp]$

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