diff options
author | Matei Dibu <matdibu@protonmail.com> | 2022-08-02 00:48:59 +0300 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-10-22 16:40:42 +0000 |
commit | 516eff01e61155a681a4f684515ae7924b9bff0d (patch) | |
tree | 140a1c5cde9827f2e8c1ff07f1f14c964eac8d09 /src/include | |
parent | 436f1c471a576d36101d7ef42e29d2c4e28950e6 (diff) |
arch/x86/include/arch: fix assembly clobber for 64bit
the "x86 PIC code ebx" workaround done previously
by commit 689e31d18b0f ("Make cpuid functions usable
when compiled with PIC") does not work for x86_64
(the upper dword of rbx is set to 0)
the GCC bug that needed the workaround was fixed
in version 5 (see GCC bug 54232)
Change-Id: Iff1dd72c7423a3b385a000457bcd065cf7ed6b95
Signed-off-by: Matei Dibu <matdibu@protonmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66345
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions