x86: use data32 directive instead of macro for operand-size prefix
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 3 Dec 2019 05:20:49 +0000 (14:20 +0900)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 8 Dec 2019 11:10:12 +0000 (19:10 +0800)
commit0d915a9aa4e1f9060dac2c32616a69b391292b84
tree9c9ef74e1d3c6219b85dab212825d80b9bffa464
parentd79ae6aa3087a6434b5ecdb51d20dca20c8e1596
x86: use data32 directive instead of macro for operand-size prefix

This file defines 'a32' and 'o32' macros to avoid magic numbers
of operand/address-size prefixing.

GAS supports 'data32' and 'addr32' for that purpose.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/start16.S