summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-02-17 22:52:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-02-17 22:52:07 +0000
commitcf90bbdad150cd1224f1d483f9057fff5e0b35ec (patch)
tree310e07e188a5a7cc2afc14eb81bdd8b96c449be1 /gnu
parentae061553d13d1b64fabe2225b5a506f757edf5ff (diff)
Having CpuSMAP and Cpu64 overlap isn't a terribly good idea.
Makes it possible to build an i386 kernel with binutils-2.17 again. ok miod@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils-2.17/gas/config/tc-i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils-2.17/gas/config/tc-i386.h b/gnu/usr.bin/binutils-2.17/gas/config/tc-i386.h
index 330c8f0f600..073f9208c11 100644
--- a/gnu/usr.bin/binutils-2.17/gas/config/tc-i386.h
+++ b/gnu/usr.bin/binutils-2.17/gas/config/tc-i386.h
@@ -192,8 +192,8 @@ typedef struct
#define CpuSMAP 0x4000000 /* Intel Supervisor Mode Access Prevention */
/* These flags are set by gas depending on the flag_code. */
-#define Cpu64 0x4000000 /* 64bit support required */
-#define CpuNo64 0x8000000 /* Not supported in the 64bit mode */
+#define Cpu64 0x8000000 /* 64bit support required */
+#define CpuNo64 0x10000000 /* Not supported in the 64bit mode */
/* The default value for unknown CPUs - enable all features to avoid problems. */
#define CpuUnknownFlags (Cpu086|Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686 \