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:
@@ -13,14 +13,11 @@
|
||||
#**/
|
||||
#
|
||||
|
||||
.text
|
||||
#include <AsmMacroIoLib.h>
|
||||
|
||||
.syntax unified
|
||||
.p2align 2
|
||||
|
||||
GCC_ASM_EXPORT(__switchu8)
|
||||
|
||||
|
||||
ASM_PFX(__switchu8):
|
||||
ASM_FUNC(__switchu8)
|
||||
ldrb ip,[lr,#-1]
|
||||
cmp r0,ip
|
||||
ldrbcc r0,[lr,r0]
|
||||
|
Reference in New Issue
Block a user