summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-25 15:10:04 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-25 15:11:11 -0800
commit5a24fdd547f4c02fe46c37b84a020febfa41bfd2 (patch)
tree4a8018ff69d3c806b8baa52fb3d8ff500395b197 /nasm.c
parentc92aaa1d49876b69fc2d727033922274733ff7fe (diff)
downloadnasm-5a24fdd547f4c02fe46c37b84a020febfa41bfd2.tar.gz
nasm-5a24fdd547f4c02fe46c37b84a020febfa41bfd2.tar.bz2
nasm-5a24fdd547f4c02fe46c37b84a020febfa41bfd2.zip
Make the LOCK and HLE warnings suppressable.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index cca6650..5103fea 100644
--- a/nasm.c
+++ b/nasm.c
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------- *
*
- * Copyright 1996-2011 The NASM Authors - All Rights Reserved
+ * Copyright 1996-2012 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
@@ -161,6 +161,8 @@ static const struct warning {
{"float-underflow", "floating point underflow", false},
{"float-toolong", "too many digits in floating-point number", true},
{"user", "%warning directives", true},
+ {"lock", "lock prefix on unlockable instructions", true},
+ {"hle", "invalid hle prefixes", true},
};
/*