]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: simplify ljmp to 32-bit code
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 3 Dec 2019 05:28:58 +0000 (14:28 +0900)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 8 Dec 2019 11:10:21 +0000 (19:10 +0800)
commit90ab311a7c1ee91201c23726871d20b2287a51a5
treef35ad6e8999c51ff9369843db699287a3f383a78
parent0d915a9aa4e1f9060dac2c32616a69b391292b84
x86: simplify ljmp to 32-bit code

You can directly specify the label as the operand for ljmp.

This commit saves 4-byte code.

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