]> git.baikalelectronics.ru Git - uboot.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)
commit161d5723201780eae744ec4e4b4bb8e0849f4039
treef35ad6e8999c51ff9369843db699287a3f383a78
parent02dc42580488f7c1b89e49f461c993d88c64a6ce
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