[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19661] [libopcodes] [x86] Lock prefixes are allowed even w
From: |
njholcomb at wi dot rr.com |
Subject: |
[Bug binutils/19661] [libopcodes] [x86] Lock prefixes are allowed even when they SIGILL |
Date: |
Mon, 18 Apr 2016 13:54:46 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19661
--- Comment #2 from njholcomb at wi dot rr.com ---
Created attachment 9202
--> https://sourceware.org/bugzilla/attachment.cgi?id=9202&action=edit
File displays locking without a memory operand.
objdump -d lock_no_mem.o
lock_no_mem.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <main>:
0: 55 push %rbp
1: 48 89 e5 mov %rsp,%rbp
4: f0 b7 9f lock mov $0x9f,%bh
7: 96 xchg %eax,%esi
8: 00 00 add %al,(%rax)
a: 00 b8 00 00 00 00 add %bh,0x0(%rax)
10: 5d pop %rbp
11: c3 retq
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/19661] [libopcodes] [x86] Lock prefixes are allowed even when they SIGILL,
njholcomb at wi dot rr.com <=