]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/DebugSupport/Dxe/ipf/AsmFuncs.s
Replace .global with .globl to solve compatibility issues.
[mirror_edk2.git] / EdkModulePkg / Universal / DebugSupport / Dxe / ipf / AsmFuncs.s
index 1ac4a7e503f0861c6efb522394c8324ad3dbe1fe..866e5db9a8481336d8935bad8dbccdf22402d775 100644 (file)
 #include "common.i"\r
 #include "Ds64Macros.i"\r
 \r
 #include "common.i"\r
 #include "Ds64Macros.i"\r
 \r
-.global PatchSaveBuffer\r
-.global IpfContextBuf\r
-.global CommonHandler\r
-.global ExternalInterruptCount\r
+.globl PatchSaveBuffer\r
+.globl IpfContextBuf\r
+.globl CommonHandler\r
+.globl ExternalInterruptCount\r
 \r
 \r
 /////////////////////////////////////////////\r
 \r
 \r
 /////////////////////////////////////////////\r
@@ -38,7 +38,7 @@
 //  Description:\r
 //      Flushes instruction cache for specified number of bytes\r
 //\r
 //  Description:\r
 //      Flushes instruction cache for specified number of bytes\r
 //\r
-        .global InstructionCacheFlush\r
+        .globl InstructionCacheFlush\r
         .proc   InstructionCacheFlush\r
         .align 32\r
 InstructionCacheFlush::\r
         .proc   InstructionCacheFlush\r
         .align 32\r
 InstructionCacheFlush::\r
@@ -166,7 +166,7 @@ LoopBack:   // $L143:
 //       Notes:\r
 //\r
 //\r
 //       Notes:\r
 //\r
 //\r
-        .global ChainHandler\r
+        .globl ChainHandler\r
         .proc ChainHandler\r
 ChainHandler:\r
 \r
         .proc ChainHandler\r
 ChainHandler:\r
 \r
@@ -240,7 +240,7 @@ ChainHandlerDone:
 //  Notes:\r
 //\r
 //\r
 //  Notes:\r
 //\r
 //\r
-        .global UnchainHandler\r
+        .globl UnchainHandler\r
         .proc UnchainHandler\r
 \r
 UnchainHandler:\r
         .proc UnchainHandler\r
 \r
 UnchainHandler:\r
@@ -673,7 +673,7 @@ SetSlotDone:
 //  Returns:\r
 //      Current value if IVA\r
 \r
 //  Returns:\r
 //      Current value if IVA\r
 \r
-        .global     GetIva\r
+        .globl     GetIva\r
         .proc       GetIva\r
 GetIva:\r
         mov         r8=cr2;;\r
         .proc       GetIva\r
 GetIva:\r
         mov         r8=cr2;;\r
@@ -693,7 +693,7 @@ GetIva:
 //  Returns:\r
 //      Previous state of psr.ic\r
 //\r
 //  Returns:\r
 //      Previous state of psr.ic\r
 //\r
-        .global     ProgramInterruptFlags\r
+        .globl     ProgramInterruptFlags\r
         .proc       ProgramInterruptFlags\r
 ProgramInterruptFlags:\r
         alloc       loc0=1,2,0,0;;\r
         .proc       ProgramInterruptFlags\r
 ProgramInterruptFlags:\r
         alloc       loc0=1,2,0,0;;\r
@@ -1279,7 +1279,7 @@ EndHookHandler:
 //      Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied\r
 //          to the IVT entry.\r
 \r
 //      Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied\r
 //          to the IVT entry.\r
 \r
-        .global HookStub\r
+        .globl HookStub\r
         .proc   HookStub\r
 HookStub:\r
 \r
         .proc   HookStub\r
 HookStub:\r
 \r