diff options
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch8.S')
-rw-r--r-- | ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch8.S | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch8.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch8.S index 871c7c05f7..7f84b16c79 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch8.S +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch8.S @@ -13,13 +13,11 @@ #**/
#
-.text
-.syntax unified
-.p2align 2
+#include <AsmMacroIoLib.h>
-GCC_ASM_EXPORT(__switch8)
+.syntax unified
-ASM_PFX(__switch8):
+ASM_FUNC(__switch8)
ldrb ip, [lr, #-1]
cmp r0, ip
ldrsbcc r0, [lr, r0]
|