summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-06-17 00:22:45 +0000
committerderaadt <deraadt@openbsd.org>1996-06-17 00:22:45 +0000
commiteaf82450c8c2f4ce6ebabd843f2368c65c5bf5fc (patch)
tree4af83568299f8181d3f7a07054c9f5ee47349dc7
parentalign bss on machdep boundary in case something else failed to (diff)
downloadwireguard-openbsd-eaf82450c8c2f4ce6ebabd843f2368c65c5bf5fc.tar.xz
wireguard-openbsd-eaf82450c8c2f4ce6ebabd843f2368c65c5bf5fc.zip
from netbsd; Change the segment mov constraint to WordReg|WordMem, to
disallow 8-bit memory access, and enable a (somewhat) common register usage.
-rw-r--r--gnu/usr.bin/gas/opcode/i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gas/opcode/i386.h b/gnu/usr.bin/gas/opcode/i386.h
index 7d3d15f817a..dc4f5561e26 100644
--- a/gnu/usr.bin/gas/opcode/i386.h
+++ b/gnu/usr.bin/gas/opcode/i386.h
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* $Id: i386.h,v 1.1.1.1 1995/10/18 08:39:09 deraadt Exp $ */
+/* $Id: i386.h,v 1.2 1996/06/17 00:22:45 deraadt Exp $ */
static const template i386_optab[] = {
@@ -27,7 +27,7 @@ static const template i386_optab[] = {
{ "mov", 2, 0x88, _, DW|Modrm, Reg, Reg|Mem, 0 },
{ "mov", 2, 0xb0, _, ShortFormW, Imm, Reg, 0 },
{ "mov", 2, 0xc6, _, W|Modrm, Imm, Reg|Mem, 0 },
-{ "mov", 2, 0x8c, _, D|Modrm, SReg3|SReg2, Reg16|Mem16, 0 },
+{ "mov", 2, 0x8c, _, D|Modrm, SReg3|SReg2, WordReg|WordMem, 0 },
/* move to/from control debug registers */
{ "mov", 2, 0x0f20, _, D|Modrm, Control, Reg32, 0},
{ "mov", 2, 0x0f21, _, D|Modrm, Debug, Reg32, 0},