ArmPkg/SemihostLib: switch to ASM_FUNC() asm macro
Annotate functions with ASM_FUNC() so that they are emitted into separate sections. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
@@ -13,11 +13,8 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.text
|
||||
.align 2
|
||||
#include <AsmMacroIoLibV8.h>
|
||||
|
||||
.globl ASM_PFX(GccSemihostCall)
|
||||
|
||||
ASM_PFX(GccSemihostCall):
|
||||
ASM_FUNC(GccSemihostCall)
|
||||
hlt #0xf000
|
||||
ret
|
||||
|
Reference in New Issue
Block a user