[Bug gas/10906] New: as offset miscomputation using intel syntax and local labels

View: New views
4 Messages — Rating Filter:   Alert me  

[Bug gas/10906] New: as offset miscomputation using intel syntax and local labels

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
  I'm using GNU as from Ubuntu Karmic. A library (crypto++) failed to execute
the test. After many debugging it seems that my as produce wrong code. To sum up
library produce a code like

   ...
4: ...
   jne 4b

while while disassembly (objdump -S) I see an invalid offset after jne
instruction and no symbols/relocations used.

I'll attach source .s code and output object

--
           Summary: as offset miscomputation using intel syntax and local
                    labels
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: freddy77 at gmail dot com
                CC: bug-binutils at gnu dot org,freddy77 at gmail dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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

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


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

[Bug gas/10906] as offset miscomputation using intel syntax and local labels

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From freddy77 at gmail dot com  2009-11-05 10:38 -------
Created an attachment (id=4360)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4360&action=view)
source code for as


--


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

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


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

[Bug gas/10906] as offset miscomputation using intel syntax and local labels

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From freddy77 at gmail dot com  2009-11-05 10:38 -------
Created an attachment (id=4361)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4361&action=view)
output object file


--


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

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


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

[Bug gas/10906] as offset miscomputation using intel syntax and local labels

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From amodra at bigpond dot net dot au  2009-11-05 12:14 -------


*** This bug has been marked as a duplicate of 10856 ***

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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

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


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