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: unassig...@sources.redhat.com
        ReportedBy: hjl.to...@gmail.com
    Classification: Unclassified


[hjl@gnu-6 tmp]$ cat y.s
     .equ    sym, 0x1234567890
            .global sym
[hjl@gnu-6 tmp]$ as --x32 -o y.o y.s         
[hjl@gnu-6 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
[hjl@gnu-6 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.

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

Reply via email to