gas doesn't like 32-bit addresses in 16-bit mode
commit8fbae6c0b6f8ce860f88b86bdef4ecc14c6ba977
authorH. Peter Anvin <hpa@zytor.com>
Tue, 21 Aug 2007 17:12:50 +0000 (21 10:12 -0700)
committerAvi Kivity <avi@qumranet.com>
Wed, 22 Aug 2007 16:29:54 +0000 (22 19:29 +0300)
tree0dbaed24a98a24cc71a9a119230cc11531cca886
parent55a035a69544289efdba39b8ac3aec9f8686cd73
gas doesn't like 32-bit addresses in 16-bit mode

Some versions of gas will reject perfectly valid 32-bit addresses in
.code16 mode.  There is no valid technical reason for this, but
nevertheless it does.  Replace 32-bit lea with add and mov.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/user/test/bootstrap.S