diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-08-21 12:54:47 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2024-08-27 00:27:00 +0000 |
commit | fec86226b205cacd1ec2c69eca45dbae1c89c69e (patch) | |
tree | 09ffc640de6a3647924aa1aa2f30dd51caf48d38 /payloads | |
parent | 7a044ef255a7b321c4543a9b3f9281b52e4eadc7 (diff) |
libpayload/x86: Fix assembly for clang
Change-Id: I81252dc2f89b3b3da0bb9a2388a041b600920b3f
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84009
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/arch/x86/exception_asm.S | 4 | ||||
-rw-r--r-- | payloads/libpayload/arch/x86/exception_asm_64.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/payloads/libpayload/arch/x86/exception_asm.S b/payloads/libpayload/arch/x86/exception_asm.S index b3395d0e4b..042cf04523 100644 --- a/payloads/libpayload/arch/x86/exception_asm.S +++ b/payloads/libpayload/arch/x86/exception_asm.S @@ -71,7 +71,7 @@ exception_stub_\num: .macro user_defined_stubs from, to stub \from .if \to-\from - user_defined_stubs %(from+1),\to + user_defined_stubs %(\from+1),\to .endif .endm @@ -231,7 +231,7 @@ gdt_ptr: .macro user_defined_gates from, to interrupt_gate exception_stub_\from .if \to-\from - user_defined_gates %(from+1),\to + user_defined_gates %(\from+1),\to .endif .endm diff --git a/payloads/libpayload/arch/x86/exception_asm_64.S b/payloads/libpayload/arch/x86/exception_asm_64.S index 6d91b937ac..0c1c536b50 100644 --- a/payloads/libpayload/arch/x86/exception_asm_64.S +++ b/payloads/libpayload/arch/x86/exception_asm_64.S @@ -71,7 +71,7 @@ exception_stub_\num: .macro user_defined_stubs from, to stub \from .if \to-\from - user_defined_stubs %(from+1),\to + user_defined_stubs %(\from+1),\to .endif .endm @@ -277,7 +277,7 @@ gdt_ptr: .macro user_defined_gates from, to interrupt_gate exception_stub_\from .if \to-\from - user_defined_gates %(from+1),\to + user_defined_gates %(\from+1),\to .endif .endm |