ArmPkg/CompilerIntrinsicsLib: switch to ASM_FUNC() asm macro
Annotate functions with ASM_FUNC() so that they are emitted into separate sections. Note that in some cases, various entry points refer to different parts of the same routine, so in those cases, the files have been left untouched. 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:
@@ -12,10 +12,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
.text
|
||||
.align 2
|
||||
GCC_ASM_EXPORT(__aeabi_llsl)
|
||||
#include <AsmMacroIoLib.h>
|
||||
|
||||
#
|
||||
#VOID
|
||||
@@ -26,7 +23,7 @@ GCC_ASM_EXPORT(__aeabi_llsl)
|
||||
# IN UINT32 Size
|
||||
# );
|
||||
#
|
||||
ASM_PFX(__aeabi_llsl):
|
||||
ASM_FUNC(__aeabi_llsl)
|
||||
subs r3,r2,#0x20
|
||||
bpl 1f
|
||||
rsb r3,r2,#0x20
|
||||
|
Reference in New Issue
Block a user