diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 15:10:04 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 15:11:11 -0800 |
commit | 5a24fdd547f4c02fe46c37b84a020febfa41bfd2 (patch) | |
tree | 4a8018ff69d3c806b8baa52fb3d8ff500395b197 /nasm.c | |
parent | c92aaa1d49876b69fc2d727033922274733ff7fe (diff) | |
download | nasm-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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}, }; /* |