assemble.c: capitalize LOCK prefix
LOCK is a keyword and not a descriptive term here, capitalize it. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
4229317a5f
commit
be99ebd656
1 changed files with 1 additions and 1 deletions
|
@ -1418,7 +1418,7 @@ static int64_t calcsize(int32_t segment, int64_t offset, int bits,
|
|||
if (has_prefix(ins, PPS_LOCK, P_LOCK) && lockcheck &&
|
||||
(!itemp_has(temp,IF_LOCK) || !is_class(MEMORY, ins->oprs[0].type))) {
|
||||
/*!
|
||||
*!lock [on] lock prefix on unlockable instructions
|
||||
*!lock [on] LOCK prefix on unlockable instructions
|
||||
*! warns about \c{LOCK} prefixes on unlockable instructions.
|
||||
*/
|
||||
nasm_warnf(WARN_LOCK | ERR_PASS2 , "instruction is not lockable");
|
||||
|
|
Loading…
Reference in a new issue