bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/31323] [x86] GAS does not error out instruction that exceed 16


From: hjl.tools at gmail dot com
Subject: [Bug gas/31323] [x86] GAS does not error out instruction that exceed 16 bytes
Date: Thu, 01 Feb 2024 22:24:54 +0000

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-02-01
           Assignee|unassigned at sourceware dot org   |hjl.tools at gmail dot 
com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Another example:

[hjl@gnu-cfl-3 pr31323]$ cat y.s
        xorq $0xe0, foo(%eax,%edx), %rdx
[hjl@gnu-cfl-3 pr31323]$ make y.o
./as   -o y.o y.s
y.s: Assembler messages:
y.s:1: Warning: instruction length of 16 bytes exceeds the limit of 15
[hjl@gnu-cfl-3 pr31323]$ ./objdump -dw y.o

y.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   67 62 f4 ec 18 81 b4 10 00 00 00 00 e0 00 00    (bad)
        ...
[hjl@gnu-cfl-3 pr31323]$

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