x86: -mfence-as-lock-add=yes doesn't work for 16-bit mode
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Dec 2021 08:31:04 +0000 (09:31 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Dec 2021 08:31:04 +0000 (09:31 +0100)
commit47f4115a1b17f0918a484b935ffd0adcee1555a5
tree325d2d614a9afefdddffd8d6e83cbe31c38d460c
parentca988435c6138887721d705931abdecd4044f934
x86: -mfence-as-lock-add=yes doesn't work for 16-bit mode

Rather than trying to fix this (which would require making an assumption
on the upper half of %esp being zero), simply issue an error. While at
it, since the generated code is in conflict with -momit-lock-prefix=yes,
issue an error in that case as well.
gas/config/tc-i386.c