------- Additional Comments From dsd at laptop dot org  2010-06-08 22:07 -------
Created an attachment (id=4837)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4837&action=view)
testcase3.s

One more. By deleting (more or less) random lines from testcase2.s I came up
with a 9-line test case which produces 2 nopl instructions when assembled with
-mtune=i686.

$ as -mtune=i686 -o foo testcase3.s
$ objdump -d foo
Disassembly of section .text:

00000000 <.text>:
   0:   55                      push   %ebp
   1:   5d                      pop    %ebp
   2:   c3                      ret    
   3:   0f 1f 44 00 00          nopl   0x0(%eax,%eax,1)
   8:   c3                      ret    
   9:   0f 1f 80 00 00 00 00    nopl   0x0(%eax)


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to