bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/12687] Incorrect jump address for backward local labels with In


From: hjl.tools at gmail dot com
Subject: [Bug gas/12687] Incorrect jump address for backward local labels with Intel syntax
Date: Thu, 21 Apr 2011 22:40:27 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-04-21 22:40:24 
UTC ---
Today's CVS works for me:

address@hidden pr12687]$ cat x.s
    .intel_syntax
    mov eax, 5
1:
    dec eax
    jnz 1b
    ret
address@hidden pr12687]$ make
./as --32 -o x.o x.s
./ld  -o x x.o
./objdump -dw -Mintel x

x:     file format pei-i386


Disassembly of section .text:

00401000 <.text>:
  401000:    b8 05 00 00 00           mov    eax,0x5
  401005:    48                       dec    eax
  401006:    75 fd                    jne    401005 <.text+0x5>
  401008:    c3                       ret    
  401009:    90                       nop
  40100a:    90                       nop
  40100b:    90                       nop
...

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