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>
This commit is contained in:
Arthur Heymans 2024-08-21 12:54:47 +02:00
commit fec86226b2
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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