X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ArmPkg%2FLibrary%2FCompilerIntrinsicsLib%2FArm%2Fswitchu8.S;fp=ArmPkg%2FLibrary%2FCompilerIntrinsicsLib%2FArm%2Fswitchu8.S;h=7c94dd4fad275a373806f2c34e5a9c96d559bb84;hb=903e31242d016a82a363e4281959fc1297d25769;hp=5849998eaf32bd9d945567773814f3f696c4416a;hpb=7589d9dbcfbfbe75cce4b402cdf81fed7e00b863;p=mirror_edk2.git diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S index 5849998eaf..7c94dd4fad 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S @@ -13,14 +13,11 @@ #**/ # -.text -.syntax unified -.p2align 2 - -GCC_ASM_EXPORT(__switchu8) +#include +.syntax unified -ASM_PFX(__switchu8): +ASM_FUNC(__switchu8) ldrb ip,[lr,#-1] cmp r0,ip ldrbcc r0,[lr,r0]