summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-11-19 02:57:38 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-11-19 02:57:38 +0000
commit197731efd5a8a0ebe8824e5a8a918cd5b992ab53 (patch)
tree8c98692882ac0363dda95b61a6c45670f9f3def9
parent364ac5dd9d331ccf76ac9e1392575e819c1d0a47 (diff)
Bring in a change present in binutils 2.17 to allow sahf/lahf
instructions on amd64. ok deraadt@ miod@ mlarkin@
-rw-r--r--gnu/usr.bin/binutils/include/opcode/i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/include/opcode/i386.h b/gnu/usr.bin/binutils/include/opcode/i386.h
index c61f4fb5c76..3fe78a66cba 100644
--- a/gnu/usr.bin/binutils/include/opcode/i386.h
+++ b/gnu/usr.bin/binutils/include/opcode/i386.h
@@ -208,8 +208,8 @@ static const template i386_optab[] = {
{"cli", 0, 0xfa, X, 0, NoSuf, { 0, 0, 0} },
{"clts", 0, 0x0f06, X, Cpu286, NoSuf, { 0, 0, 0} },
{"cmc", 0, 0xf5, X, 0, NoSuf, { 0, 0, 0} },
-{"lahf", 0, 0x9f, X, CpuNo64,NoSuf, { 0, 0, 0} },
-{"sahf", 0, 0x9e, X, CpuNo64,NoSuf, { 0, 0, 0} },
+{"lahf", 0, 0x9f, X, 0, NoSuf, { 0, 0, 0} },
+{"sahf", 0, 0x9e, X, 0, NoSuf, { 0, 0, 0} },
{"pushf", 0, 0x9c, X, CpuNo64,wlq_Suf|DefaultSize, { 0, 0, 0} },
{"pushf", 0, 0x9c, X, Cpu64, wq_Suf|DefaultSize|NoRex64,{ 0, 0, 0} },
{"popf", 0, 0x9d, X, CpuNo64,wlq_Suf|DefaultSize, { 0, 0, 0} },