]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/ArmMmuLib: switch to ASM_FUNC() asm macro
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 10 Aug 2016 12:35:38 +0000 (14:35 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 11 Aug 2016 10:29:31 +0000 (12:29 +0200)
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>
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S

index 3834da7bfedd2c192813a0a3027b16e6f1106740..90192df24f55520dbb2bdf9ce74ff64111c2d2f1 100644 (file)
@@ -14,8 +14,6 @@
 \r
 #include <AsmMacroIoLibV8.h>\r
 \r
-GCC_ASM_EXPORT(ArmReplaceLiveTranslationEntry)\r
-\r
   .set CTRL_M_BIT,      (1 << 0)\r
 \r
   .macro __replace_entry, el\r
@@ -52,7 +50,7 @@ GCC_ASM_EXPORT(ArmReplaceLiveTranslationEntry)
 //  IN  UINT64  *Entry,\r
 //  IN  UINT64  Value\r
 //  )\r
-ASM_PFX(ArmReplaceLiveTranslationEntry):\r
+ASM_FUNC(ArmReplaceLiveTranslationEntry)\r
 \r
   // disable interrupts\r
   mrs   x2, daif\r