summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-25 10:05:26 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-25 10:05:26 +0000
commitb7089db12047675e829a74674700b03406c432e6 (patch)
tree2b8db83dac416cf6a15e1cf7ded7d802348cbc68 /MdePkg
parent1a0d7262b42e2eb283a2927fbc5cff71248a8473 (diff)
downloadedk2-platforms-b7089db12047675e829a74674700b03406c432e6.tar.xz
1.Fix .global issue in GAS (EdkT207).
2.Fix Label start with @ (EdkT208). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1610 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseCacheMaintenanceLib/Ipf/Cpu.s2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ARShiftU64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuPause.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuSleep.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DisablePaging32.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DivU64x32.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/EnablePaging32.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/EnablePaging64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/FxRestore.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/FxSave.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Invd.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/LRotU64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/LShiftU64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/LongJump.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ModU64x32.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Monitor.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/MultU64x32.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/MultU64x64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Mwait.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/RRotU64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/RShiftU64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadCr0.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadCr2.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadCr3.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadCr4.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadCs.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr0.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr1.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr2.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr3.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr4.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr5.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr6.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDr7.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadDs.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadEflags.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadEs.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadFs.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadGdtr.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadGs.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadIdtr.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadLdtr.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm0.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm1.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm2.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm3.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm4.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm5.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm6.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm7.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMsr64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadPmc.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadSs.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadTr.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadTsc.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/SetJump.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/SwapBytes64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Thunk16.S28
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Wbinvd.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteCr0.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteCr2.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteCr3.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteCr4.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr0.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr1.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr2.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr3.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr4.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr5.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr6.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr7.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteGdtr.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteIdtr.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteLdtr.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm0.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm1.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm2.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm3.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm4.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm5.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm6.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMm7.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteMsr64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s2
-rw-r--r--MdePkg/Library/BaseLib/Ipf/setjmp.s2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S12
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S6
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S10
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.S12
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.S6
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.S6
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S6
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.S6
130 files changed, 168 insertions, 168 deletions
diff --git a/MdePkg/Library/BaseCacheMaintenanceLib/Ipf/Cpu.s b/MdePkg/Library/BaseCacheMaintenanceLib/Ipf/Cpu.s
index 4f144c683e..7870c2bc8b 100644
--- a/MdePkg/Library/BaseCacheMaintenanceLib/Ipf/Cpu.s
+++ b/MdePkg/Library/BaseCacheMaintenanceLib/Ipf/Cpu.s
@@ -46,7 +46,7 @@
.section .rtcode, "ax", "progbits"
.align 32
.type InvalidateInstructionCacheRange# ,@function
- .global InvalidateInstructionCacheRange#
+ .globl InvalidateInstructionCacheRange#
// Function compile flags: /Ogsy
.section .rtcode
diff --git a/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S b/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S
index a41cfdb65c..86c536b669 100644
--- a/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S
+++ b/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathARShiftU64
+.globl _InternalMathARShiftU64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S
index f88dc6846d..17880f4803 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S
+++ b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S
@@ -20,7 +20,7 @@
#
#------------------------------------------------------------------------------
-.global _CpuBreakpoint
+.globl _CpuBreakpoint
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S b/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S
index c9d6194cdc..0bd308d344 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S
+++ b/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S
@@ -20,7 +20,7 @@
#
#------------------------------------------------------------------------------
-.global _CpuFlushTlb
+.globl _CpuFlushTlb
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuPause.S b/MdePkg/Library/BaseLib/Ia32/CpuPause.S
index 7df74327e5..e9bf413cb6 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuPause.S
+++ b/MdePkg/Library/BaseLib/Ia32/CpuPause.S
@@ -20,7 +20,7 @@
#
#------------------------------------------------------------------------------
-.global _CpuPause
+.globl _CpuPause
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuSleep.S b/MdePkg/Library/BaseLib/Ia32/CpuSleep.S
index 93106df0f7..3bd1736250 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuSleep.S
+++ b/MdePkg/Library/BaseLib/Ia32/CpuSleep.S
@@ -20,7 +20,7 @@
#
#------------------------------------------------------------------------------
-.global _CpuSleep
+.globl _CpuSleep
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S
index a222d7a700..aa5111f5f6 100644
--- a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S
+++ b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _DisableInterrupts
+.globl _DisableInterrupts
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S
index 5ade180009..c250004a41 100644
--- a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S
+++ b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalX86DisablePaging32
+.globl _InternalX86DisablePaging32
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32.S b/MdePkg/Library/BaseLib/Ia32/DivU64x32.S
index 0c7829f23e..158b382a4a 100644
--- a/MdePkg/Library/BaseLib/Ia32/DivU64x32.S
+++ b/MdePkg/Library/BaseLib/Ia32/DivU64x32.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathDivU64x32
+.globl _InternalMathDivU64x32
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S b/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S
index 41537b05ec..7c4bfb2512 100644
--- a/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S
+++ b/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathDivRemU64x32
+.globl _InternalMathDivRemU64x32
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
index 90ccc56a70..a122c70ab2 100644
--- a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
+++ b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
@@ -20,7 +20,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathDivRemU64x32, _InternalMathDivRemU64x64
+.globl _InternalMathDivRemU64x32, _InternalMathDivRemU64x64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S
index c082561f66..dcee379611 100644
--- a/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S
+++ b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _EnableDisableInterrupts
+.globl _EnableDisableInterrupts
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S
index 075b85e260..8a40b3afc0 100644
--- a/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S
+++ b/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _EnableInterrupts
+.globl _EnableInterrupts
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S
index 7335e628f9..39f991fe56 100644
--- a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S
+++ b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalX86EnablePaging32
+.globl _InternalX86EnablePaging32
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
index 61525b8403..89502b7ef5 100644
--- a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
+++ b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalX86EnablePaging64
+.globl _InternalX86EnablePaging64
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S
index a1c62755f4..f445464af9 100644
--- a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S
+++ b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmFlushCacheLine
+.globl _AsmFlushCacheLine
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/FxRestore.S b/MdePkg/Library/BaseLib/Ia32/FxRestore.S
index fa1922308f..f88d3df09b 100644
--- a/MdePkg/Library/BaseLib/Ia32/FxRestore.S
+++ b/MdePkg/Library/BaseLib/Ia32/FxRestore.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalX86FxRestore
+.globl _InternalX86FxRestore
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/FxSave.S b/MdePkg/Library/BaseLib/Ia32/FxSave.S
index 7bca947cea..cdb808e3cd 100644
--- a/MdePkg/Library/BaseLib/Ia32/FxSave.S
+++ b/MdePkg/Library/BaseLib/Ia32/FxSave.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalX86FxSave
+.globl _InternalX86FxSave
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S
index ec0eec1928..f5acc82a95 100644
--- a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S
+++ b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalSyncCompareExchange32
+.globl _InternalSyncCompareExchange32
#------------------------------------------------------------------------------
# UINT32
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S
index 5c964b9e62..32d3084806 100644
--- a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S
+++ b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalSyncCompareExchange64
+.globl _InternalSyncCompareExchange64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S b/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S
index 72765031d2..1855732d51 100644
--- a/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S
+++ b/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalSyncDecrement
+.globl _InternalSyncDecrement
#------------------------------------------------------------------------------
# UINT32
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S b/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S
index 69f604cac5..9bde4dc661 100644
--- a/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S
+++ b/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalSyncIncrement
+.globl _InternalSyncIncrement
#------------------------------------------------------------------------------
# UINT32
diff --git a/MdePkg/Library/BaseLib/Ia32/Invd.S b/MdePkg/Library/BaseLib/Ia32/Invd.S
index f87aa08a6c..97c4934af5 100644
--- a/MdePkg/Library/BaseLib/Ia32/Invd.S
+++ b/MdePkg/Library/BaseLib/Ia32/Invd.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmInvd
+.globl _AsmInvd
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/LRotU64.S b/MdePkg/Library/BaseLib/Ia32/LRotU64.S
index a9f72d8505..0208134556 100644
--- a/MdePkg/Library/BaseLib/Ia32/LRotU64.S
+++ b/MdePkg/Library/BaseLib/Ia32/LRotU64.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathLRotU64
+.globl _InternalMathLRotU64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/LShiftU64.S b/MdePkg/Library/BaseLib/Ia32/LShiftU64.S
index 6912b86fc3..ef572700ce 100644
--- a/MdePkg/Library/BaseLib/Ia32/LShiftU64.S
+++ b/MdePkg/Library/BaseLib/Ia32/LShiftU64.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathLShiftU64
+.globl _InternalMathLShiftU64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/LongJump.S b/MdePkg/Library/BaseLib/Ia32/LongJump.S
index fa17dddff9..afb1ca5943 100644
--- a/MdePkg/Library/BaseLib/Ia32/LongJump.S
+++ b/MdePkg/Library/BaseLib/Ia32/LongJump.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalLongJump
+.globl _InternalLongJump
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/ModU64x32.S b/MdePkg/Library/BaseLib/Ia32/ModU64x32.S
index f2d6cfddf7..b2829c09c7 100644
--- a/MdePkg/Library/BaseLib/Ia32/ModU64x32.S
+++ b/MdePkg/Library/BaseLib/Ia32/ModU64x32.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathModU64x32
+.globl _InternalMathModU64x32
#------------------------------------------------------------------------------
# UINT32
diff --git a/MdePkg/Library/BaseLib/Ia32/Monitor.S b/MdePkg/Library/BaseLib/Ia32/Monitor.S
index 371e1839fc..d1310c5a58 100644
--- a/MdePkg/Library/BaseLib/Ia32/Monitor.S
+++ b/MdePkg/Library/BaseLib/Ia32/Monitor.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmMonitor
+.globl _AsmMonitor
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x32.S b/MdePkg/Library/BaseLib/Ia32/MultU64x32.S
index 0b01733076..c12d3bd15a 100644
--- a/MdePkg/Library/BaseLib/Ia32/MultU64x32.S
+++ b/MdePkg/Library/BaseLib/Ia32/MultU64x32.S
@@ -22,7 +22,7 @@
.386:
.code:
-.global _InternalMathMultU64x32
+.globl _InternalMathMultU64x32
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x64.S b/MdePkg/Library/BaseLib/Ia32/MultU64x64.S
index f2e55ad6cc..e8daa318be 100644
--- a/MdePkg/Library/BaseLib/Ia32/MultU64x64.S
+++ b/MdePkg/Library/BaseLib/Ia32/MultU64x64.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathMultU64x64
+.globl _InternalMathMultU64x64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/Mwait.S b/MdePkg/Library/BaseLib/Ia32/Mwait.S
index 1aad7cb357..9b8a8a9643 100644
--- a/MdePkg/Library/BaseLib/Ia32/Mwait.S
+++ b/MdePkg/Library/BaseLib/Ia32/Mwait.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmMwait
+.globl _AsmMwait
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/RRotU64.S b/MdePkg/Library/BaseLib/Ia32/RRotU64.S
index 4b89a4eaa7..bf51f38ef6 100644
--- a/MdePkg/Library/BaseLib/Ia32/RRotU64.S
+++ b/MdePkg/Library/BaseLib/Ia32/RRotU64.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMathRRotU64
+.globl _InternalMathRRotU64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/RShiftU64.S b/MdePkg/Library/BaseLib/Ia32/RShiftU64.S
index 3aea31b7ef..80133807cb 100644
--- a/MdePkg/Library/BaseLib/Ia32/RShiftU64.S
+++ b/MdePkg/Library/BaseLib/Ia32/RShiftU64.S
@@ -22,7 +22,7 @@
.686:
.code:
-.global _InternalMathRShiftU64
+.globl _InternalMathRShiftU64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr0.S b/MdePkg/Library/BaseLib/Ia32/ReadCr0.S
index 4ebb51cab1..324cba9046 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadCr0.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadCr0.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadCr0
+.globl _AsmReadCr0
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr2.S b/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
index 3080ae9aaf..dce8e0c7b7 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadCr2
+.globl _AsmReadCr2
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr3.S b/MdePkg/Library/BaseLib/Ia32/ReadCr3.S
index b714801b0a..b9ad97f608 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadCr3.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadCr3.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadCr3
+.globl _AsmReadCr3
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr4.S b/MdePkg/Library/BaseLib/Ia32/ReadCr4.S
index 212976119a..b1a2f6a19c 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadCr4.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadCr4.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadCr4
+.globl _AsmReadCr4
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCs.S b/MdePkg/Library/BaseLib/Ia32/ReadCs.S
index 97d76066b0..11c9c3f669 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadCs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadCs.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadCs
+.globl _AsmReadCs
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr0.S b/MdePkg/Library/BaseLib/Ia32/ReadDr0.S
index 8ad15ea5c1..3110752487 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr0.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr0.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr0
+.globl _AsmReadDr0
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr1.S b/MdePkg/Library/BaseLib/Ia32/ReadDr1.S
index e1d7dab497..d975e1c15c 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr1.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr1.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr1
+.globl _AsmReadDr1
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr2.S b/MdePkg/Library/BaseLib/Ia32/ReadDr2.S
index 1c0ea04a8b..8af8e22d6f 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr2.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr2.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr2
+.globl _AsmReadDr2
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr3.S b/MdePkg/Library/BaseLib/Ia32/ReadDr3.S
index 705c5c649a..c1baf7c8fb 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr3.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr3.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr3
+.globl _AsmReadDr3
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr4.S b/MdePkg/Library/BaseLib/Ia32/ReadDr4.S
index 4e7d3d1c1e..4beac9fdfd 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr4.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr4.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr4
+.globl _AsmReadDr4
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr5.S b/MdePkg/Library/BaseLib/Ia32/ReadDr5.S
index 09ae3857f2..6aff412494 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr5.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr5.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr5
+.globl _AsmReadDr5
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr6.S b/MdePkg/Library/BaseLib/Ia32/ReadDr6.S
index c514a7680f..f433ee3926 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr6.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr6.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr6
+.globl _AsmReadDr6
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr7.S b/MdePkg/Library/BaseLib/Ia32/ReadDr7.S
index 638daea15d..7cdd48d60e 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDr7.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDr7.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDr7
+.globl _AsmReadDr7
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDs.S b/MdePkg/Library/BaseLib/Ia32/ReadDs.S
index a9106fb621..439c272c09 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadDs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadDs.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadDs
+.globl _AsmReadDs
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEflags.S b/MdePkg/Library/BaseLib/Ia32/ReadEflags.S
index 3e40756fc4..c4dd095176 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadEflags.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadEflags.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadEflags
+.globl _AsmReadEflags
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEs.S b/MdePkg/Library/BaseLib/Ia32/ReadEs.S
index 87a5bacf64..164a2fc620 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadEs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadEs.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadEs
+.globl _AsmReadEs
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadFs.S b/MdePkg/Library/BaseLib/Ia32/ReadFs.S
index 3bf19f23ed..571cb7a3c8 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadFs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadFs.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadFs
+.globl _AsmReadFs
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S
index ec1504601e..f69f4219ed 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalX86ReadGdtr
+.globl _InternalX86ReadGdtr
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGs.S b/MdePkg/Library/BaseLib/Ia32/ReadGs.S
index 8e0a9d279b..6ae5dd1b57 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadGs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadGs.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadGs
+.globl _AsmReadGs
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S
index cafc0ac45b..67f89c4fca 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalX86ReadIdtr
+.globl _InternalX86ReadIdtr
#------------------------------------------------------------------------------
# VOID
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S
index 39c35582bc..a1581a9171 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadLdtr
+.globl _AsmReadLdtr
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm0.S b/MdePkg/Library/BaseLib/Ia32/ReadMm0.S
index 380b2f2806..a021786cf8 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm0.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm0.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm0
+.globl _AsmReadMm0
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm1.S b/MdePkg/Library/BaseLib/Ia32/ReadMm1.S
index a893ff7c38..53774cbb37 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm1.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm1.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm1
+.globl _AsmReadMm1
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm2.S b/MdePkg/Library/BaseLib/Ia32/ReadMm2.S
index 9dbc9e2180..8da95f4214 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm2.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm2.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm2
+.globl _AsmReadMm2
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm3.S b/MdePkg/Library/BaseLib/Ia32/ReadMm3.S
index 04d57078bb..6e5ac7f601 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm3.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm3.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm3
+.globl _AsmReadMm3
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm4.S b/MdePkg/Library/BaseLib/Ia32/ReadMm4.S
index 4bd812230b..0df806b5d4 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm4.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm4.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm4
+.globl _AsmReadMm4
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm5.S b/MdePkg/Library/BaseLib/Ia32/ReadMm5.S
index d2b0498f08..b41c895433 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm5.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm5.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm5
+.globl _AsmReadMm5
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm6.S b/MdePkg/Library/BaseLib/Ia32/ReadMm6.S
index 875295fb32..ac416103a3 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm6.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm6.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm6
+.globl _AsmReadMm6
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm7.S b/MdePkg/Library/BaseLib/Ia32/ReadMm7.S
index fb12a655ef..52200ed3fc 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm7.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm7.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMm7
+.globl _AsmReadMm7
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S
index be3c44e9d0..dadd449326 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadMsr64
+.globl _AsmReadMsr64
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadPmc.S b/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
index a6c4e6ef00..66041d700e 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadPmc
+.globl _AsmReadPmc
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadSs.S b/MdePkg/Library/BaseLib/Ia32/ReadSs.S
index f0a6fe8c65..7d044c11e5 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadSs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadSs.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadSs
+.globl _AsmReadSs
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTr.S b/MdePkg/Library/BaseLib/Ia32/ReadTr.S
index 92e0ce630c..3dbf3806a0 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadTr.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadTr.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadTr
+.globl _AsmReadTr
#------------------------------------------------------------------------------
# UINT16
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTsc.S b/MdePkg/Library/BaseLib/Ia32/ReadTsc.S
index c615ac7b83..90a0de9777 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadTsc.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadTsc.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _AsmReadTsc
+.globl _AsmReadTsc
#------------------------------------------------------------------------------
# UINT64
diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.S b/MdePkg/Library/BaseLib/Ia32/SetJump.S
index c600b7f0a8..d68b95a87a 100644
--- a/MdePkg/Library/BaseLib/Ia32/SetJump.S
+++ b/MdePkg/Library/BaseLib/Ia32/SetJump.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
-.global _SetJump, _InternalAssertJumpBuffer
+.globl _SetJump, _InternalAssertJumpBuffer
#------------------------------------------------------------------------------
# UINTN
diff --git a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S
index f7633428bd..a6a6bb0451 100644
--- a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S
+++ b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S
@@ -29,7 +29,7 @@
# IN UINT64 Operand
# );
#------------------------------------------------------------------------------
-.global _InternalMathSwapBytes64
+.globl _InternalMathSwapBytes64
_InternalMathSwapBytes64:
movl 8(%esp), %eax
movl 4(%esp), %edx
diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.S b/MdePkg/Library/BaseLib/Ia32/Thunk16.S
index aad6bbe26b..2641556d98 100644
--- a/MdePkg/Library/BaseLib/Ia32/Thunk16.S
+++ b/MdePkg/Library/BaseLib/Ia32/Thunk16.S
@@ -19,8 +19,8 @@
#
#------------------------------------------------------------------------------
-.global _m16Start, _m16Size, _mThunk16Attr, _m16Gdt, _m16GdtrBase, _mTransition
-.global _InternalAsmThunk16
+.globl _m16Start, _m16Size, _mThunk16Attr, _m16Gdt, _m16GdtrBase, _mTransition
+.globl _InternalAsmThunk16
_m16Start:
@@ -30,8 +30,8 @@ _BackFromUserCode:
push %ss
push %cs
.byte 0x66
- call @Base1 # push eip
-@Base1:
+ call L_Base1 # push eip
+L_Base1:
pushfw # pushfd actually
cli # disable interrupts
push %gs
@@ -39,20 +39,20 @@ _BackFromUserCode:
push %es
push %ds
pushaw # pushad actually
- .byte 0x66, 0xba # mov edx, imm32
+ .byte 0x66, 0xba # mov edx, imm32
_ThunkAttr: .space 4
testb $THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15, %dl
- jz @1
+ jz 1f
movl $0x15cd2401, %eax # mov ax, 2401h & int 15h
cli # disable interrupts
- jnc @2
-@1:
+ jnc 2f
+1:
testb $THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL, %dl
- jz @2
+ jz 2f
inb $0x92, %al
orb $2, %al
outb %al, $0x92 # deactivate A20M#
-@2:
+2:
movl %ss, %eax
.byte 0x67, 0x66, 0x8d, 0x6c, 0x24, 0x34, 0x66
mov %ebp, 0xffffffd8(%esi)
@@ -93,16 +93,16 @@ _ToUserCode:
movl %esi, %ss # set up 16-bit stack segment
xchgw %bx, %sp # set up 16-bit stack pointer
.byte 0x66
- call @Base # push eip
-@Base:
- popw %bp # ebp <- offset @Base
+ call L_Base # push eip
+L_Base:
+ popw %bp # ebp <- offset L_Base
addr16 pushl 36(%si)
.byte 0x36
lea 0xc(%esi), %eax
push %eax
lret
-@RealMode:
+L_RealMode:
mov %edx, %cs:0xffffffc5(%esi)
mov %bx, %cs:0xffffffcb(%esi)
lidtw %cs:0xffffffd7(%esi)
diff --git a/MdePkg/Library/BaseLib/Ia32/Wbinvd.S b/MdePkg/Library/BaseLib/Ia32/Wbinvd.S
index 7a4b8ccedc..42e9fc3974 100644
--- a/MdePkg/Library/BaseLib/Ia32/Wbinvd.S
+++ b/MdePkg/Library/BaseLib/Ia32/Wbinvd.S
@@ -28,7 +28,7 @@
# VOID
# );
#------------------------------------------------------------------------------
-.global _AsmWbinvd
+.globl _AsmWbinvd
_AsmWbinvd:
wbinvd
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr0.S b/MdePkg/Library/BaseLib/Ia32/WriteCr0.S
index 192ed4fa57..273f0bf8a6 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteCr0.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteCr0.S
@@ -28,7 +28,7 @@
# IN UINTN Cr0
# );
#------------------------------------------------------------------------------
-.global _AsmWriteCr0
+.globl _AsmWriteCr0
_AsmWriteCr0:
movl 4(%esp), %eax
movl %eax, %cr0
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr2.S b/MdePkg/Library/BaseLib/Ia32/WriteCr2.S
index 223dbb973c..bc947e99a2 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteCr2.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteCr2.S
@@ -28,7 +28,7 @@
# IN UINTN Cr2
# );
#------------------------------------------------------------------------------
-.global _AsmWriteCr2
+.globl _AsmWriteCr2
_AsmWriteCr2:
movl 4(%esp), %eax
movl %eax, %cr2
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr3.S b/MdePkg/Library/BaseLib/Ia32/WriteCr3.S
index 3a12755092..9d5c215714 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteCr3.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteCr3.S
@@ -28,7 +28,7 @@
# IN UINTN Cr3
# );
#------------------------------------------------------------------------------
-.global _AsmWriteCr3
+.globl _AsmWriteCr3
_AsmWriteCr3:
movl 4(%esp), %eax
movl %eax, %cr3
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr4.S b/MdePkg/Library/BaseLib/Ia32/WriteCr4.S
index 4b65a26f71..346bb7e85a 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteCr4.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteCr4.S
@@ -28,7 +28,7 @@
# IN UINTN Cr4
# );
#------------------------------------------------------------------------------
-.global _AsmWriteCr4
+.globl _AsmWriteCr4
_AsmWriteCr4:
movl 4(%esp), %eax
movl %eax, %cr4
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr0.S b/MdePkg/Library/BaseLib/Ia32/WriteDr0.S
index 9faa5a5694..f65bb3fc6f 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr0.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr0.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr0
+.globl _AsmWriteDr0
_AsmWriteDr0:
movl 4(%esp), %eax
movl %eax, %dr0
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr1.S b/MdePkg/Library/BaseLib/Ia32/WriteDr1.S
index 1038cf78e2..8c5ed5997d 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr1.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr1.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr1
+.globl _AsmWriteDr1
_AsmWriteDr1:
movl 4(%esp), %eax
movl %eax, %dr1
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr2.S b/MdePkg/Library/BaseLib/Ia32/WriteDr2.S
index 4afee11456..c946d296da 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr2.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr2.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr2
+.globl _AsmWriteDr2
_AsmWriteDr2:
movl 4(%esp), %eax
movl %eax, %dr2
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr3.S b/MdePkg/Library/BaseLib/Ia32/WriteDr3.S
index 3d46fc1a80..27080ddbcd 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr3.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr3.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr3
+.globl _AsmWriteDr3
_AsmWriteDr3:
movl 4(%esp), %eax
movl %eax, %dr3
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr4.S b/MdePkg/Library/BaseLib/Ia32/WriteDr4.S
index 3c375545bd..453de9ad44 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr4.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr4.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr4
+.globl _AsmWriteDr4
_AsmWriteDr4:
movl 4(%esp), %eax
movl %eax, %dr4
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr5.S b/MdePkg/Library/BaseLib/Ia32/WriteDr5.S
index 4ab45d1bd7..833fb8ee62 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr5.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr5.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr5
+.globl _AsmWriteDr5
_AsmWriteDr5:
movl 4(%esp), %eax
movl %eax, %dr5
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr6.S b/MdePkg/Library/BaseLib/Ia32/WriteDr6.S
index be3156aba5..f4e4e9919f 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr6.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr6.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr6
+.globl _AsmWriteDr6
_AsmWriteDr6:
movl 4(%esp), %eax
movl %eax, %dr6
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr7.S b/MdePkg/Library/BaseLib/Ia32/WriteDr7.S
index d38fd98131..62210ec911 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr7.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr7.S
@@ -28,7 +28,7 @@
# IN UINTN Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteDr7
+.globl _AsmWriteDr7
_AsmWriteDr7:
movl 4(%esp), %eax
movl %eax, %dr7
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteGdtr.S b/MdePkg/Library/BaseLib/Ia32/WriteGdtr.S
index f8f700f528..1a0f1d9d95 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteGdtr.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteGdtr.S
@@ -28,7 +28,7 @@
# OUT IA32_DESCRIPTOR *Gdtr
# );
#------------------------------------------------------------------------------
-.global _InternalX86WriteGdtr
+.globl _InternalX86WriteGdtr
_InternalX86WriteGdtr:
movl 4(%esp), %eax
lgdt (%eax)
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S b/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S
index fc5e6cd42e..6e79b212cc 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S
@@ -28,7 +28,7 @@
# OUT IA32_DESCRIPTOR *Idtr
# );
#------------------------------------------------------------------------------
-.global _InternalX86WriteIdtr
+.globl _InternalX86WriteIdtr
_InternalX86WriteIdtr:
movl 4(%esp), %eax
lidt (%eax)
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S b/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S
index 2be1e9dfb0..69f1ed046e 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S
@@ -28,7 +28,7 @@
# IN UINT16 Ldtr
# );
#------------------------------------------------------------------------------
-.global _AsmWriteLdtr
+.globl _AsmWriteLdtr
_AsmWriteLdtr:
movl 4(%esp), %eax
lldtw %ax
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm0.S b/MdePkg/Library/BaseLib/Ia32/WriteMm0.S
index a3dca7d7d9..15cd960790 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm0.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm0.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm0
+.globl _AsmWriteMm0
_AsmWriteMm0:
movq 4(%esp), %mm0
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm1.S b/MdePkg/Library/BaseLib/Ia32/WriteMm1.S
index 62ef07d1bc..510dcedb08 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm1.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm1.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm1
+.globl _AsmWriteMm1
_AsmWriteMm1:
movq 4(%esp), %mm1
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm2.S b/MdePkg/Library/BaseLib/Ia32/WriteMm2.S
index b43d455d0a..c30c1711ae 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm2.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm2.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm2
+.globl _AsmWriteMm2
_AsmWriteMm2:
movq 4(%esp), %mm2
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm3.S b/MdePkg/Library/BaseLib/Ia32/WriteMm3.S
index ffc5c35a9f..1abafd244b 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm3.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm3.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm3
+.globl _AsmWriteMm3
_AsmWriteMm3:
movq 4(%esp), %mm3
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm4.S b/MdePkg/Library/BaseLib/Ia32/WriteMm4.S
index 01fde70ebc..beeaa48699 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm4.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm4.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm4
+.globl _AsmWriteMm4
_AsmWriteMm4:
movq 4(%esp), %mm4
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm5.S b/MdePkg/Library/BaseLib/Ia32/WriteMm5.S
index 9effef0758..c8da38c970 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm5.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm5.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm5
+.globl _AsmWriteMm5
_AsmWriteMm5:
movq 4(%esp), %mm5
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm6.S b/MdePkg/Library/BaseLib/Ia32/WriteMm6.S
index c1ecd9ea0e..79003e2f48 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm6.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm6.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm6
+.globl _AsmWriteMm6
_AsmWriteMm6:
movq 4(%esp), %mm6
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm7.S b/MdePkg/Library/BaseLib/Ia32/WriteMm7.S
index c7cb0880b4..9100e25dfa 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMm7.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMm7.S
@@ -28,7 +28,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMm7
+.globl _AsmWriteMm7
_AsmWriteMm7:
movq 4(%esp), %mm7
ret
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S b/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S
index 8af2147554..1289c5f862 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S
+++ b/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S
@@ -29,7 +29,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-.global _AsmWriteMsr64
+.globl _AsmWriteMsr64
_AsmWriteMsr64:
movl 12(%esp), %edx
movl 8(%esp), %eax
diff --git a/MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s b/MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s
index c50eeb89f3..520c51f6ba 100644
--- a/MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s
+++ b/MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s
@@ -17,7 +17,7 @@
.auto
.text
-.global PalCallStatic
+.globl PalCallStatic
.type PalCallStatic, @function
.proc CpuFlushTlb
diff --git a/MdePkg/Library/BaseLib/Ipf/setjmp.s b/MdePkg/Library/BaseLib/Ipf/setjmp.s
index ff8c747437..e2b346ee72 100644
--- a/MdePkg/Library/BaseLib/Ipf/setjmp.s
+++ b/MdePkg/Library/BaseLib/Ipf/setjmp.s
@@ -17,7 +17,7 @@
.auto
.text
-.global InternalAssertJumpBuffer
+.globl InternalAssertJumpBuffer
.type InternalAssertJumpBuffer, @function
.proc SetJump
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
index 7901b82a44..725367b2f9 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemCompareMem
+.globl _InternalMemCompareMem
#------------------------------------------------------------------------------
# INTN
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
index d644b34675..349356fb1f 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemCopyMem
+.globl _InternalMemCopyMem
#------------------------------------------------------------------------------
# VOID *
@@ -42,7 +42,7 @@ _InternalMemCopyMem:
cmpl %edi, %esi
jae L0
cmpl %edi, %eax # Overlapped?
- jae @CopyBackward # Copy backward if overlapped
+ jae L_CopyBackward # Copy backward if overlapped
L0:
xorl %ecx, %ecx
subl %esi, %ecx
@@ -57,7 +57,7 @@ L1:
movl %edx, %ecx
andl $7, %edx
shrl $3, %ecx # ecx <- # of Qwords to copy
- jz @CopyBytes
+ jz L_CopyBytes
pushl %eax
pushl %eax
movq %mm0, (%esp) # save mm0
@@ -70,12 +70,12 @@ L2:
movq (%esp), %mm0 # restore mm0
popl %ecx # stack cleanup
popl %ecx # stack cleanup
- jmp @CopyBytes
-@CopyBackward:
+ jmp L_CopyBytes
+L_CopyBackward:
movl %eax, %esi # esi <- Last byte in Source
leal -1(%edi,%edx,), %edi # edi <- Last byte in Destination
std
-@CopyBytes:
+L_CopyBytes:
movl %edx, %ecx
rep
movsb
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
index 1e83064573..5e65b9667a 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem16
+.globl _InternalMemScanMem16
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
index b7b93d9c0c..5d46ed2bc1 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem32
+.globl _InternalMemScanMem32
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
index 6bbb18a334..3ba69650ab 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem64
+.globl _InternalMemScanMem64
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
index fe678fac26..7a834a5635 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem8
+.globl _InternalMemScanMem8
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
index 4e93915caa..96fb48eedc 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem
+.globl _InternalMemSetMem
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
index 9898d28f98..9dece46b02 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem16
+.globl _InternalMemSetMem16
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
index 8281652ad9..7505ea53d3 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem32
+.globl _InternalMemSetMem32
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
index 5eef027e57..8c12c421dc 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem64
+.globl _InternalMemSetMem64
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
index f51ce8f98e..8c52a3c950 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemZeroMem
+.globl _InternalMemZeroMem
#------------------------------------------------------------------------------
# VOID *
@@ -37,13 +37,13 @@ _InternalMemZeroMem:
movl 12(%esp), %ecx
movl %ecx, %edx
shrl $3, %ecx
- jz @ZeroBytes
+ jz L_ZeroBytes
pxor %mm0, %mm0
L0:
movq %mm0, (%edi)
addl $8, %edi
loop L0
-@ZeroBytes:
+L_ZeroBytes:
andl $7, %edx
xorl %eax, %eax
movl %edx, %ecx
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S
index 7901b82a44..725367b2f9 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemCompareMem
+.globl _InternalMemCompareMem
#------------------------------------------------------------------------------
# INTN
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
index 42695b28c4..a95b33759c 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemCopyMem
+.globl _InternalMemCopyMem
#------------------------------------------------------------------------------
# VOID *
@@ -42,19 +42,19 @@ _InternalMemCopyMem:
cmpl %edi, %esi
jae L0
cmpl %edi, %eax
- jae @CopyBackward # Copy backward if overlapped
+ jae L_CopyBackward # Copy backward if overlapped
L0:
movl %edx, %ecx
andl $3, %edx
shrl $2, %ecx
rep
movsl # Copy as many Dwords as possible
- jmp @CopyBytes
-@CopyBackward:
+ jmp L_CopyBytes
+L_CopyBackward:
movl %eax, %esi # esi <- End of Source
leal -1(%edi, %edx), %edi # edi <- End of Destination
std
-@CopyBytes:
+L_CopyBytes:
movl %edx, %ecx
rep
movsb # Copy bytes backward
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S
index 1e83064573..5e65b9667a 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem16
+.globl _InternalMemScanMem16
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S
index b7b93d9c0c..5d46ed2bc1 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem32
+.globl _InternalMemScanMem32
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S
index 6bbb18a334..3ba69650ab 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem64
+.globl _InternalMemScanMem64
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S
index fe678fac26..7a834a5635 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem8
+.globl _InternalMemScanMem8
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S
index 9dbfa284c0..4ddf6c490b 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S
@@ -24,7 +24,7 @@
.386:
.code:
-.global _InternalMemSetMem
+.globl _InternalMemSetMem
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S
index 23860092af..6e7c136222 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem16
+.globl _InternalMemSetMem16
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S
index c11214f6d6..455af20573 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem32
+.globl _InternalMemSetMem32
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S
index c76bbae020..b4afff0fd4 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem64
+.globl _InternalMemSetMem64
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S
index 7a01471ebb..8465d7cf65 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemZeroMem
+.globl _InternalMemZeroMem
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.S
index 7901b82a44..725367b2f9 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemCompareMem
+.globl _InternalMemCompareMem
#------------------------------------------------------------------------------
# INTN
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.S
index 9ef9286051..ddbcbaf1b1 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemCopyMem
+.globl _InternalMemCopyMem
#------------------------------------------------------------------------------
# VOID *
@@ -42,7 +42,7 @@ _InternalMemCopyMem:
cmpl %edi, %esi
jae L0
cmpl %edi, %eax # Overlapped?
- jae @CopyBackward # Copy backward if overlapped
+ jae L_CopyBackward # Copy backward if overlapped
L0:
xorl %ecx, %ecx
subl %edi, %ecx
@@ -57,7 +57,7 @@ L1:
movl %edx, %ecx
andl $15, %edx
shrl $4, %ecx # ecx <- # of DQwords to copy
- jz @CopyBytes
+ jz L_CopyBytes
addl $-16, %esp
movdqu %xmm0, (%esp)
L2:
@@ -69,12 +69,12 @@ L2:
mfence
movdqu (%esp),%xmm0
addl $16, %esp # stack cleanup
- jmp @CopyBytes
-@CopyBackward:
+ jmp L_CopyBytes
+L_CopyBackward:
movl %eax, %esi # esi <- Last byte in Source
leal -1(%edi,%edx,), %edi # edi <- Last byte in Destination
std
-@CopyBytes:
+L_CopyBytes:
movl %edx, %ecx
rep
movsb
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.S
index 1e83064573..5e65b9667a 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem16
+.globl _InternalMemScanMem16
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.S
index b7b93d9c0c..5d46ed2bc1 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem32
+.globl _InternalMemScanMem32
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.S
index 6bbb18a334..3ba69650ab 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem64
+.globl _InternalMemScanMem64
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.S
index fe678fac26..7a834a5635 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.S
@@ -27,7 +27,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemScanMem8
+.globl _InternalMemScanMem8
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.S
index d73ebfb710..86bba889f2 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.S
@@ -34,7 +34,7 @@
# IN UINT8 Value
# );
#------------------------------------------------------------------------------
-.global _InternalMemSetMem
+.globl _InternalMemSetMem
_InternalMemSetMem:
push %edi
movl 12(%esp), %edx # edx <- Count
@@ -53,7 +53,7 @@ L0:
movl %edx, %ecx
andl $15, %edx
shrl $4, %ecx # ecx <- # of DQwords to set
- jz @SetBytes
+ jz L_SetBytes
movb %al, %ah # ax <- Value | (Value << 8)
addl $-16, %esp
movdqu %xmm0, (%esp)
@@ -67,7 +67,7 @@ L1:
mfence
movdqu (%esp), %xmm0
addl $16, %esp # stack cleanup
-@SetBytes:
+L_SetBytes:
movl %edx, %ecx
rep
stosb
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.S
index 21e3935b99..8ec96a9b6c 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem16
+.globl _InternalMemSetMem16
#------------------------------------------------------------------------------
# VOID *
@@ -51,7 +51,7 @@ L0:
movl %edx, %ecx
andl $7, %edx
shrl $3, %ecx
- jz @SetWords
+ jz L_SetWords
movd %eax, %xmm0
pshuflw $0, %xmm0, %xmm0
movlhps %xmm0, %xmm0
@@ -60,7 +60,7 @@ L1:
addl $16, %edi
loop L1
mfence
-@SetWords:
+L_SetWords:
movl %edx, %ecx
rep
stosw
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S
index b6823ad125..f91169a6e0 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemSetMem32
+.globl _InternalMemSetMem32
#------------------------------------------------------------------------------
# VOID *
@@ -51,7 +51,7 @@ L0:
movl %edx, %ecx
andl $3, %edx
shrl $2, %ecx
- jz @SetDwords
+ jz L_SetDwords
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0
L1:
@@ -59,7 +59,7 @@ L1:
addl $16, %edi
loop L1
mfence
-@SetDwords:
+L_SetDwords:
movl %edx, %ecx
rep
stosl
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.S
index 1f9e2f63a3..ef9918f0f9 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.S
@@ -44,14 +44,14 @@ _InternalMemSetMem64:
decl %ecx
L1:
shrl %ecx
- jz @SetQwords
+ jz L_SetQwords
movlhps %xmm0, %xmm0
L2:
movntdq %xmm0, (%edx)
leal 16(%edx), %edx
loop L2
mfence
-@SetQwords:
+L_SetQwords:
jnc L3
movq %xmm0, (%edx)
L3:
diff --git a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.S b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.S
index f57276091f..8b4157f741 100644
--- a/MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.global _InternalMemZeroMem
+.globl _InternalMemZeroMem
#------------------------------------------------------------------------------
# VOID *
@@ -49,14 +49,14 @@ L0:
movl %edx, %ecx
andl $15, %edx
shrl $4, %ecx
- jz @ZeroBytes
+ jz L_ZeroBytes
pxor %xmm0, %xmm0
L1:
movntdq %xmm0, (%edi)
addl $16, %edi
loop L1
mfence
-@ZeroBytes:
+L_ZeroBytes:
movl %edx, %ecx
rep
stosb