From bb8cf3fa77e63f7c6a02d23bbfe3426beff26358 Mon Sep 17 00:00:00 2001 From: Jin Kyu Song Date: Fri, 29 Nov 2013 00:38:29 -0800 Subject: bnd: Show warning when bnd prefix is dropped When bnd prefix is dropped as jmp is encoded as jmp short, nasm shows a warning message, which can be suppressed with a new command line option, -w-bnd. Signed-off-by: Jin Kyu Song --- nasm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nasm.c') diff --git a/nasm.c b/nasm.c index b83810d..d10ddbc 100644 --- a/nasm.c +++ b/nasm.c @@ -166,6 +166,7 @@ static const struct warning { {"user", "%warning directives", true}, {"lock", "lock prefix on unlockable instructions", true}, {"hle", "invalid hle prefixes", true}, + {"bnd", "invalid bnd prefixes", true}, }; static bool want_usage; -- cgit v1.2.3