diff options
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch16.S')
-rw-r--r-- | ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch16.S | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch16.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch16.S index 09c9004ddf..6de2d4513c 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch16.S +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch16.S @@ -13,13 +13,11 @@ #**/
#
-.text
-.syntax unified
-.p2align 2
+#include <AsmMacroIoLib.h>
-GCC_ASM_EXPORT(__switch16)
+.syntax unified
-ASM_PFX(__switch16):
+ASM_FUNC(__switch16)
ldrh ip, [lr, #-1]
cmp r0, ip
add r0, lr, r0, lsl #1
|