bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25789] [as] x86: duplicate jmp when .nops and jmp are used toge


From: i at maskray dot me
Subject: [Bug gas/25789] [as] x86: duplicate jmp when .nops and jmp are used together
Date: Mon, 06 Apr 2020 19:04:56 +0000

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

--- Comment #2 from Fangrui Song <i at maskray dot me> ---
> Gas limits number of executed NOP paddings to 7 NOPs:

Then .nops with a large immediate should be rejected. 

A smaller immediate for .nops works, e.g.

foo:
  ret
.nops 28
jmp foo

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