bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/11867] New: .quad directive not assembled correctly


From: ed at extraordinarymachine dot nl
Subject: [Bug binutils/11867] New: .quad directive not assembled correctly
Date: 1 Aug 2010 20:35:55 -0000

This of for: GNU assembler version 2.20.1 (i386-portbld-freebsd8.0) using BFD
version (GNU Binutils) 2.20.1.20100303

The following assembler file doesn't assemble correctly:

        .file   "quadtest.s"
        .type   globalArray,@object
        .data
        .globl  globalArray
        .align  16
globalArray:
        .quad   542196645677236224
        .quad   -12884901888
        .quad   0
        .quad   542196645677236224
        .size   globalArray, 32


Contents of section .data:
 0000 00000000 fa448607 00000000 fdff0000  .....D..........
 0010 00000000 00000000 00000000 fa448607  .............D..

It should be:

Contents of section .data:
 0000 00000000 fa448607 00000000 fdffffff  .....D..........
 0010 00000000 00000000 00000000 fa448607  .............D..

Presumably, this also occurs on OpenBSD (version unknown)

-- 
           Summary: .quad directive not assembled correctly
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: ed at extraordinarymachine dot nl
                CC: bug-binutils at gnu dot org
 GCC build triplet: i386-portbld-freebsd8.0
  GCC host triplet: i386-portbld-freebsd8.0
GCC target triplet: i386-portbld-freebsd8.0


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

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