[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22464] x86 gas -n option does not work
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/22464] x86 gas -n option does not work |
Date: |
Wed, 22 Nov 2017 00:52:13 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22464
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Version|unspecified |2.30 (HEAD)
Resolution|--- |WORKSFORME
Target Milestone|--- |2.30
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jim Wilson from comment #0)
> I noticed this by accident. The x86 assembler has a -n option which says to
> emit one byte nops instead of multi-byte nops. But when I try it, it
> doesn't work.
>
> rohan:2162$ cat tmp.s
> .text
> movl %edi, %eax
> .balign 8
> movl $0, %edx
> .balign 8
^^^^^^^^^^^^^^^^^^^^^^^ This needs to be ".balign 8, 0x90".
> .section ".text.alt"
> movl %edi, %eax
I checked in a tesstcase.
--
You are receiving this mail because:
You are on the CC list for the bug.