https://sourceware.org/bugzilla/show_bug.cgi?id=30585

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-06-27
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Works for me with 2.39:

[hjl@gnu-cfl-3 tmp]$ cat y.s
      .code16
        {disp16} jmp 1f
        nop
1:
[hjl@gnu-cfl-3 tmp]$ gcc -c y.s
[hjl@gnu-cfl-3 tmp]$ objdump -dw -Mi8086 y.o

y.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   e9 01 00                jmp    0x4
   3:   90                      nop
[hjl@gnu-cfl-3 tmp]$ 

It is probably fixed by

commit 1a42a9fe4e60599bba1f047743a5b8b2ba96ee1f
Author: Jan Beulich <jbeul...@suse.com>
Date:   Tue Apr 12 09:01:55 2022 +0200

    x86: make {disp16} work similarly to {disp32}

    In a few places {disp32} was handled specially when really {disp16}
    wants handling just the same.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to