From 132f41f0a92082775d931067089a63ca50367225 Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 20 May 2009 10:22:09 +0000 Subject: Replace .globl with ASM_GLOBAL git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/Ia32/ARShiftU64.S | 2 +- MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S | 2 +- MdePkg/Library/BaseLib/Ia32/CpuId.S | 2 +- MdePkg/Library/BaseLib/Ia32/CpuIdEx.S | 2 +- MdePkg/Library/BaseLib/Ia32/CpuPause.S | 2 +- MdePkg/Library/BaseLib/Ia32/DisableCache.S | 2 +- MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S | 2 +- MdePkg/Library/BaseLib/Ia32/DisablePaging32.S | 2 +- MdePkg/Library/BaseLib/Ia32/DivU64x32.S | 2 +- MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S | 2 +- MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S | 2 +- MdePkg/Library/BaseLib/Ia32/EnableCache.S | 2 +- MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S | 2 +- MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S | 2 +- MdePkg/Library/BaseLib/Ia32/EnablePaging32.S | 2 +- MdePkg/Library/BaseLib/Ia32/EnablePaging64.S | 2 +- MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S | 2 +- MdePkg/Library/BaseLib/Ia32/FxRestore.S | 2 +- MdePkg/Library/BaseLib/Ia32/FxSave.S | 2 +- MdePkg/Library/BaseLib/Ia32/Invd.S | 2 +- MdePkg/Library/BaseLib/Ia32/LRotU64.S | 2 +- MdePkg/Library/BaseLib/Ia32/LShiftU64.S | 2 +- MdePkg/Library/BaseLib/Ia32/LongJump.S | 2 +- MdePkg/Library/BaseLib/Ia32/ModU64x32.S | 2 +- MdePkg/Library/BaseLib/Ia32/Monitor.S | 2 +- MdePkg/Library/BaseLib/Ia32/MultU64x32.S | 2 +- MdePkg/Library/BaseLib/Ia32/MultU64x64.S | 2 +- MdePkg/Library/BaseLib/Ia32/Mwait.S | 2 +- MdePkg/Library/BaseLib/Ia32/RRotU64.S | 2 +- MdePkg/Library/BaseLib/Ia32/RShiftU64.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadCr0.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadCr2.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadCr3.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadCr4.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadCs.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr0.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr1.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr2.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr3.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr4.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr5.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr6.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDr7.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadDs.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadEflags.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadEs.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadFs.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadGdtr.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadGs.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadIdtr.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadLdtr.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm0.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm1.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm2.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm3.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm4.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm5.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm6.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMm7.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadMsr64.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadPmc.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadSs.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadTr.S | 2 +- MdePkg/Library/BaseLib/Ia32/ReadTsc.S | 2 +- MdePkg/Library/BaseLib/Ia32/SetJump.S | 2 +- MdePkg/Library/BaseLib/Ia32/SwapBytes64.S | 2 +- MdePkg/Library/BaseLib/Ia32/Thunk16.S | 4 ++-- MdePkg/Library/BaseLib/Ia32/Wbinvd.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteCr0.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteCr2.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteCr3.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteCr4.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr0.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr1.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr2.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr3.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr4.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr5.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr6.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteDr7.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteGdtr.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteIdtr.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteLdtr.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm0.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm1.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm2.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm3.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm4.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm5.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm6.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMm7.S | 2 +- MdePkg/Library/BaseLib/Ia32/WriteMsr64.S | 2 +- 92 files changed, 93 insertions(+), 93 deletions(-) (limited to 'MdePkg/Library/BaseLib/Ia32') diff --git a/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S b/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S index 042ebd4cad..03c45ba011 100644 --- a/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S +++ b/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathARShiftU64) +ASM_GLOBAL ASM_PFX(InternalMathARShiftU64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S index 693045c6fa..9530ccb9d6 100644 --- a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S +++ b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S @@ -20,7 +20,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(CpuBreakpoint) +ASM_GLOBAL ASM_PFX(CpuBreakpoint) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/CpuId.S b/MdePkg/Library/BaseLib/Ia32/CpuId.S index 86f001c22d..2865ec5142 100644 --- a/MdePkg/Library/BaseLib/Ia32/CpuId.S +++ b/MdePkg/Library/BaseLib/Ia32/CpuId.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmCpuid) +ASM_GLOBAL ASM_PFX(AsmCpuid) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S index 62ee83c4ac..2e1f9869b1 100644 --- a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S +++ b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S @@ -36,7 +36,7 @@ # OUT UINT32 *RegisterOutEdx OPTIONAL # ) #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmCpuidEx) +ASM_GLOBAL ASM_PFX(AsmCpuidEx) ASM_PFX(AsmCpuidEx): push %ebx push %ebp diff --git a/MdePkg/Library/BaseLib/Ia32/CpuPause.S b/MdePkg/Library/BaseLib/Ia32/CpuPause.S index c29dcf34cb..60aa79c233 100644 --- a/MdePkg/Library/BaseLib/Ia32/CpuPause.S +++ b/MdePkg/Library/BaseLib/Ia32/CpuPause.S @@ -20,7 +20,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(CpuPause) +ASM_GLOBAL ASM_PFX(CpuPause) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/DisableCache.S b/MdePkg/Library/BaseLib/Ia32/DisableCache.S index b11245e519..215d8887d2 100644 --- a/MdePkg/Library/BaseLib/Ia32/DisableCache.S +++ b/MdePkg/Library/BaseLib/Ia32/DisableCache.S @@ -29,7 +29,7 @@ # VOID # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmDisableCache) +ASM_GLOBAL ASM_PFX(AsmDisableCache) ASM_PFX(AsmDisableCache): movl %cr0, %eax btsl $30, %eax diff --git a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S index 1371779616..560185cd0e 100644 --- a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S +++ b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(DisableInterrupts) +ASM_GLOBAL ASM_PFX(DisableInterrupts) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S index d7aeec50cf..9fd1251575 100644 --- a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S +++ b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86DisablePaging32) +ASM_GLOBAL ASM_PFX(InternalX86DisablePaging32) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32.S b/MdePkg/Library/BaseLib/Ia32/DivU64x32.S index d679eafe70..3b3ec044f5 100644 --- a/MdePkg/Library/BaseLib/Ia32/DivU64x32.S +++ b/MdePkg/Library/BaseLib/Ia32/DivU64x32.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathDivU64x32) +ASM_GLOBAL ASM_PFX(InternalMathDivU64x32) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S b/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S index 87ca05357a..4dcc3f0d0a 100644 --- a/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S +++ b/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathDivRemU64x32) +ASM_GLOBAL ASM_PFX(InternalMathDivRemU64x32) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S index b78697c73e..e87bb77fbc 100644 --- a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S +++ b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S @@ -20,7 +20,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64) +ASM_GLOBAL ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/EnableCache.S b/MdePkg/Library/BaseLib/Ia32/EnableCache.S index bdb4bdbdb3..c6f5ff8338 100644 --- a/MdePkg/Library/BaseLib/Ia32/EnableCache.S +++ b/MdePkg/Library/BaseLib/Ia32/EnableCache.S @@ -29,7 +29,7 @@ # VOID # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmEnableCache) +ASM_GLOBAL ASM_PFX(AsmEnableCache) ASM_PFX(AsmEnableCache): wbinvd movl %cr0, %eax diff --git a/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S index 13307597a0..10a471f09b 100644 --- a/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S +++ b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(EnableDisableInterrupts) +ASM_GLOBAL ASM_PFX(EnableDisableInterrupts) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S index d4b8f59db8..db062d973e 100644 --- a/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S +++ b/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(EnableInterrupts) +ASM_GLOBAL ASM_PFX(EnableInterrupts) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S index caecf8b0df..2afc12f86f 100644 --- a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S +++ b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86EnablePaging32) +ASM_GLOBAL ASM_PFX(InternalX86EnablePaging32) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S index ce9d3eb2d9..06753afd13 100644 --- a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S +++ b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86EnablePaging64) +ASM_GLOBAL ASM_PFX(InternalX86EnablePaging64) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S index b6bdb64a66..95eb0a62f7 100644 --- a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S +++ b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmFlushCacheLine) +ASM_GLOBAL ASM_PFX(AsmFlushCacheLine) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/FxRestore.S b/MdePkg/Library/BaseLib/Ia32/FxRestore.S index bda14dd15e..73960c7cfd 100644 --- a/MdePkg/Library/BaseLib/Ia32/FxRestore.S +++ b/MdePkg/Library/BaseLib/Ia32/FxRestore.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86FxRestore) +ASM_GLOBAL ASM_PFX(InternalX86FxRestore) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/FxSave.S b/MdePkg/Library/BaseLib/Ia32/FxSave.S index b5c107f3ba..7d6b379b6d 100644 --- a/MdePkg/Library/BaseLib/Ia32/FxSave.S +++ b/MdePkg/Library/BaseLib/Ia32/FxSave.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86FxSave) +ASM_GLOBAL ASM_PFX(InternalX86FxSave) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/Invd.S b/MdePkg/Library/BaseLib/Ia32/Invd.S index e124fe84aa..25c59bcb1b 100644 --- a/MdePkg/Library/BaseLib/Ia32/Invd.S +++ b/MdePkg/Library/BaseLib/Ia32/Invd.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmInvd) +ASM_GLOBAL ASM_PFX(AsmInvd) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/LRotU64.S b/MdePkg/Library/BaseLib/Ia32/LRotU64.S index 615ff8146a..246115dce6 100644 --- a/MdePkg/Library/BaseLib/Ia32/LRotU64.S +++ b/MdePkg/Library/BaseLib/Ia32/LRotU64.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathLRotU64) +ASM_GLOBAL ASM_PFX(InternalMathLRotU64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/LShiftU64.S b/MdePkg/Library/BaseLib/Ia32/LShiftU64.S index dc99c8bb61..f36b4fb775 100644 --- a/MdePkg/Library/BaseLib/Ia32/LShiftU64.S +++ b/MdePkg/Library/BaseLib/Ia32/LShiftU64.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathLShiftU64) +ASM_GLOBAL ASM_PFX(InternalMathLShiftU64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/LongJump.S b/MdePkg/Library/BaseLib/Ia32/LongJump.S index ba22456512..d04e1fdcd1 100644 --- a/MdePkg/Library/BaseLib/Ia32/LongJump.S +++ b/MdePkg/Library/BaseLib/Ia32/LongJump.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalLongJump) +ASM_GLOBAL ASM_PFX(InternalLongJump) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/ModU64x32.S b/MdePkg/Library/BaseLib/Ia32/ModU64x32.S index 00dc6a08ab..40787c912b 100644 --- a/MdePkg/Library/BaseLib/Ia32/ModU64x32.S +++ b/MdePkg/Library/BaseLib/Ia32/ModU64x32.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathModU64x32) +ASM_GLOBAL ASM_PFX(InternalMathModU64x32) #------------------------------------------------------------------------------ # UINT32 diff --git a/MdePkg/Library/BaseLib/Ia32/Monitor.S b/MdePkg/Library/BaseLib/Ia32/Monitor.S index 48a87a1985..94f1f98f44 100644 --- a/MdePkg/Library/BaseLib/Ia32/Monitor.S +++ b/MdePkg/Library/BaseLib/Ia32/Monitor.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmMonitor) +ASM_GLOBAL ASM_PFX(AsmMonitor) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x32.S b/MdePkg/Library/BaseLib/Ia32/MultU64x32.S index 857eeb27d7..9dbeae36be 100644 --- a/MdePkg/Library/BaseLib/Ia32/MultU64x32.S +++ b/MdePkg/Library/BaseLib/Ia32/MultU64x32.S @@ -22,7 +22,7 @@ .386: .code: -.globl ASM_PFX(InternalMathMultU64x32) +ASM_GLOBAL ASM_PFX(InternalMathMultU64x32) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x64.S b/MdePkg/Library/BaseLib/Ia32/MultU64x64.S index 8dbae8b1a9..d984f0e022 100644 --- a/MdePkg/Library/BaseLib/Ia32/MultU64x64.S +++ b/MdePkg/Library/BaseLib/Ia32/MultU64x64.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathMultU64x64) +ASM_GLOBAL ASM_PFX(InternalMathMultU64x64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/Mwait.S b/MdePkg/Library/BaseLib/Ia32/Mwait.S index 9fd1efd0c9..fc776166ea 100644 --- a/MdePkg/Library/BaseLib/Ia32/Mwait.S +++ b/MdePkg/Library/BaseLib/Ia32/Mwait.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmMwait) +ASM_GLOBAL ASM_PFX(AsmMwait) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/RRotU64.S b/MdePkg/Library/BaseLib/Ia32/RRotU64.S index cc5807648a..4b7225b0e3 100644 --- a/MdePkg/Library/BaseLib/Ia32/RRotU64.S +++ b/MdePkg/Library/BaseLib/Ia32/RRotU64.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathRRotU64) +ASM_GLOBAL ASM_PFX(InternalMathRRotU64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/RShiftU64.S b/MdePkg/Library/BaseLib/Ia32/RShiftU64.S index 1e747d43a0..e97f7f47bb 100644 --- a/MdePkg/Library/BaseLib/Ia32/RShiftU64.S +++ b/MdePkg/Library/BaseLib/Ia32/RShiftU64.S @@ -22,7 +22,7 @@ .686: .code: -.globl ASM_PFX(InternalMathRShiftU64) +ASM_GLOBAL ASM_PFX(InternalMathRShiftU64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr0.S b/MdePkg/Library/BaseLib/Ia32/ReadCr0.S index 60b1294046..7a3f1d4d83 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadCr0.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadCr0.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadCr0) +ASM_GLOBAL ASM_PFX(AsmReadCr0) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr2.S b/MdePkg/Library/BaseLib/Ia32/ReadCr2.S index bf691dc5d0..faf576b4ee 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadCr2.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadCr2.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadCr2) +ASM_GLOBAL ASM_PFX(AsmReadCr2) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr3.S b/MdePkg/Library/BaseLib/Ia32/ReadCr3.S index 33503c7dd7..49a9b8325a 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadCr3.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadCr3.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadCr3) +ASM_GLOBAL ASM_PFX(AsmReadCr3) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr4.S b/MdePkg/Library/BaseLib/Ia32/ReadCr4.S index 1ca9595352..77dd05b179 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadCr4.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadCr4.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadCr4) +ASM_GLOBAL ASM_PFX(AsmReadCr4) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCs.S b/MdePkg/Library/BaseLib/Ia32/ReadCs.S index 6a56c25106..c706cacaab 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadCs.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadCs.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadCs) +ASM_GLOBAL ASM_PFX(AsmReadCs) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr0.S b/MdePkg/Library/BaseLib/Ia32/ReadDr0.S index 1713a73b6c..4db6d0fd34 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr0.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr0.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr0) +ASM_GLOBAL ASM_PFX(AsmReadDr0) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr1.S b/MdePkg/Library/BaseLib/Ia32/ReadDr1.S index c57ab052f7..f4f8aa8b77 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr1.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr1.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr1) +ASM_GLOBAL ASM_PFX(AsmReadDr1) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr2.S b/MdePkg/Library/BaseLib/Ia32/ReadDr2.S index e5e825d5c1..610e9e12ef 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr2.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr2.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr2) +ASM_GLOBAL ASM_PFX(AsmReadDr2) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr3.S b/MdePkg/Library/BaseLib/Ia32/ReadDr3.S index b63deae8a5..5789ef1a7a 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr3.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr3.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr3) +ASM_GLOBAL ASM_PFX(AsmReadDr3) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr4.S b/MdePkg/Library/BaseLib/Ia32/ReadDr4.S index 764e02f923..fd5b797976 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr4.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr4.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr4) +ASM_GLOBAL ASM_PFX(AsmReadDr4) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr5.S b/MdePkg/Library/BaseLib/Ia32/ReadDr5.S index e9a08b5f61..d58d1c5fe2 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr5.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr5.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr5) +ASM_GLOBAL ASM_PFX(AsmReadDr5) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr6.S b/MdePkg/Library/BaseLib/Ia32/ReadDr6.S index da5dacad47..9d6630434a 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr6.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr6.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr6) +ASM_GLOBAL ASM_PFX(AsmReadDr6) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr7.S b/MdePkg/Library/BaseLib/Ia32/ReadDr7.S index 4c95887370..0cec08d701 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr7.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr7.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDr7) +ASM_GLOBAL ASM_PFX(AsmReadDr7) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDs.S b/MdePkg/Library/BaseLib/Ia32/ReadDs.S index 29388b0df5..f24961637a 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDs.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadDs.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadDs) +ASM_GLOBAL ASM_PFX(AsmReadDs) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEflags.S b/MdePkg/Library/BaseLib/Ia32/ReadEflags.S index 3fde96e61d..005d87eaf2 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadEflags.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadEflags.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadEflags) +ASM_GLOBAL ASM_PFX(AsmReadEflags) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEs.S b/MdePkg/Library/BaseLib/Ia32/ReadEs.S index 827d0df932..33fded18cc 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadEs.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadEs.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadEs) +ASM_GLOBAL ASM_PFX(AsmReadEs) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadFs.S b/MdePkg/Library/BaseLib/Ia32/ReadFs.S index 7cb7db6f02..36d6b334d5 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadFs.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadFs.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadFs) +ASM_GLOBAL ASM_PFX(AsmReadFs) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S index 771f3378ce..0ab045e70f 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86ReadGdtr) +ASM_GLOBAL ASM_PFX(InternalX86ReadGdtr) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGs.S b/MdePkg/Library/BaseLib/Ia32/ReadGs.S index 6169b9aa3c..92eda10228 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadGs.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadGs.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadGs) +ASM_GLOBAL ASM_PFX(AsmReadGs) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S index fb8e61b031..85fe9c1ae1 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86ReadIdtr) +ASM_GLOBAL ASM_PFX(InternalX86ReadIdtr) #------------------------------------------------------------------------------ # VOID diff --git a/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S index 2e534f79d3..cffdbde34e 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadLdtr) +ASM_GLOBAL ASM_PFX(AsmReadLdtr) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm0.S b/MdePkg/Library/BaseLib/Ia32/ReadMm0.S index 5c9ac8a4fa..5c48533362 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm0.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm0.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm0) +ASM_GLOBAL ASM_PFX(AsmReadMm0) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm1.S b/MdePkg/Library/BaseLib/Ia32/ReadMm1.S index 4dc3f402a0..66387d1622 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm1.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm1.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm1) +ASM_GLOBAL ASM_PFX(AsmReadMm1) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm2.S b/MdePkg/Library/BaseLib/Ia32/ReadMm2.S index 15faee2fd0..a72761fe45 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm2.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm2.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm2) +ASM_GLOBAL ASM_PFX(AsmReadMm2) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm3.S b/MdePkg/Library/BaseLib/Ia32/ReadMm3.S index 753f1f11b1..19c6161343 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm3.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm3.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm3) +ASM_GLOBAL ASM_PFX(AsmReadMm3) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm4.S b/MdePkg/Library/BaseLib/Ia32/ReadMm4.S index 9e63b3b714..db3be1ad88 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm4.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm4.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm4) +ASM_GLOBAL ASM_PFX(AsmReadMm4) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm5.S b/MdePkg/Library/BaseLib/Ia32/ReadMm5.S index 39a22b832a..2f2e640f9c 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm5.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm5.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm5) +ASM_GLOBAL ASM_PFX(AsmReadMm5) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm6.S b/MdePkg/Library/BaseLib/Ia32/ReadMm6.S index f58b0fc735..2fd514ebc6 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm6.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm6.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm6) +ASM_GLOBAL ASM_PFX(AsmReadMm6) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm7.S b/MdePkg/Library/BaseLib/Ia32/ReadMm7.S index da4e06a497..7fad933c79 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMm7.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMm7.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMm7) +ASM_GLOBAL ASM_PFX(AsmReadMm7) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S index 28c5395988..4f650312ee 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadMsr64) +ASM_GLOBAL ASM_PFX(AsmReadMsr64) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadPmc.S b/MdePkg/Library/BaseLib/Ia32/ReadPmc.S index f26ff25450..42e958a40d 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadPmc.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadPmc.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadPmc) +ASM_GLOBAL ASM_PFX(AsmReadPmc) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadSs.S b/MdePkg/Library/BaseLib/Ia32/ReadSs.S index 9645c0c9f1..94304160e9 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadSs.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadSs.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadSs) +ASM_GLOBAL ASM_PFX(AsmReadSs) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTr.S b/MdePkg/Library/BaseLib/Ia32/ReadTr.S index 250f95d5e5..679036f294 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadTr.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadTr.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadTr) +ASM_GLOBAL ASM_PFX(AsmReadTr) #------------------------------------------------------------------------------ # UINT16 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTsc.S b/MdePkg/Library/BaseLib/Ia32/ReadTsc.S index e124274cdb..9b5b707939 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadTsc.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadTsc.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmReadTsc) +ASM_GLOBAL ASM_PFX(AsmReadTsc) #------------------------------------------------------------------------------ # UINT64 diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.S b/MdePkg/Library/BaseLib/Ia32/SetJump.S index dc7f048003..c8eaccb89a 100644 --- a/MdePkg/Library/BaseLib/Ia32/SetJump.S +++ b/MdePkg/Library/BaseLib/Ia32/SetJump.S @@ -19,7 +19,7 @@ # #------------------------------------------------------------------------------ -.globl ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer) +ASM_GLOBAL ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer) #------------------------------------------------------------------------------ # UINTN diff --git a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S index 31ff35f56d..bfccd8dc2a 100644 --- a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S +++ b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S @@ -29,7 +29,7 @@ # IN UINT64 Operand # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalMathSwapBytes64) +ASM_GLOBAL ASM_PFX(InternalMathSwapBytes64) ASM_PFX(InternalMathSwapBytes64): movl 8(%esp), %eax # eax <- upper 32 bits movl 4(%esp), %edx # edx <- lower 32 bits diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.S b/MdePkg/Library/BaseLib/Ia32/Thunk16.S index 6d6bb175e2..c4b8aa3639 100644 --- a/MdePkg/Library/BaseLib/Ia32/Thunk16.S +++ b/MdePkg/Library/BaseLib/Ia32/Thunk16.S @@ -21,8 +21,8 @@ #include -.globl ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition) -.globl ASM_PFX(InternalAsmThunk16) +ASM_GLOBAL ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition) +ASM_GLOBAL ASM_PFX(InternalAsmThunk16) ASM_PFX(m16Start): diff --git a/MdePkg/Library/BaseLib/Ia32/Wbinvd.S b/MdePkg/Library/BaseLib/Ia32/Wbinvd.S index 17b36bbdc5..d2d4c4b2f9 100644 --- a/MdePkg/Library/BaseLib/Ia32/Wbinvd.S +++ b/MdePkg/Library/BaseLib/Ia32/Wbinvd.S @@ -28,7 +28,7 @@ # VOID # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWbinvd) +ASM_GLOBAL ASM_PFX(AsmWbinvd) ASM_PFX(AsmWbinvd): wbinvd ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr0.S b/MdePkg/Library/BaseLib/Ia32/WriteCr0.S index 44994ef1c2..27da3013c8 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteCr0.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteCr0.S @@ -28,7 +28,7 @@ # IN UINTN Cr0 # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteCr0) +ASM_GLOBAL ASM_PFX(AsmWriteCr0) ASM_PFX(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 12d68b1ace..9a29faac7e 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteCr2.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteCr2.S @@ -28,7 +28,7 @@ # IN UINTN Cr2 # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteCr2) +ASM_GLOBAL ASM_PFX(AsmWriteCr2) ASM_PFX(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 bd6b2029ff..86e2c63d13 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteCr3.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteCr3.S @@ -28,7 +28,7 @@ # IN UINTN Cr3 # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteCr3) +ASM_GLOBAL ASM_PFX(AsmWriteCr3) ASM_PFX(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 ddf9486bc9..6527b3e29e 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteCr4.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteCr4.S @@ -28,7 +28,7 @@ # IN UINTN Cr4 # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteCr4) +ASM_GLOBAL ASM_PFX(AsmWriteCr4) ASM_PFX(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 41b414f901..ae555f4ae8 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr0.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr0.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr0) +ASM_GLOBAL ASM_PFX(AsmWriteDr0) ASM_PFX(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 b496b17b6a..d143bd6965 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr1.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr1.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr1) +ASM_GLOBAL ASM_PFX(AsmWriteDr1) ASM_PFX(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 eef837e84c..c6f89c7071 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr2.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr2.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr2) +ASM_GLOBAL ASM_PFX(AsmWriteDr2) ASM_PFX(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 5f75e20788..08c809b23b 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr3.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr3.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr3) +ASM_GLOBAL ASM_PFX(AsmWriteDr3) ASM_PFX(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 74106b3829..f38ecfadaa 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr4.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr4.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr4) +ASM_GLOBAL ASM_PFX(AsmWriteDr4) ASM_PFX(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 927ef7c9d6..5417b20e90 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr5.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr5.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr5) +ASM_GLOBAL ASM_PFX(AsmWriteDr5) ASM_PFX(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 ef63c2a891..26d09798ef 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr6.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr6.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr6) +ASM_GLOBAL ASM_PFX(AsmWriteDr6) ASM_PFX(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 b85e1b5d8a..6f6be94981 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteDr7.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteDr7.S @@ -28,7 +28,7 @@ # IN UINTN Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteDr7) +ASM_GLOBAL ASM_PFX(AsmWriteDr7) ASM_PFX(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 6e84b3ecce..7bb07a807b 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteGdtr.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteGdtr.S @@ -28,7 +28,7 @@ # OUT IA32_DESCRIPTOR *Gdtr # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86WriteGdtr) +ASM_GLOBAL ASM_PFX(InternalX86WriteGdtr) ASM_PFX(InternalX86WriteGdtr): movl 4(%esp), %eax lgdt (%eax) diff --git a/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S b/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S index c32f77cce6..1f4857e0c4 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteIdtr.S @@ -28,7 +28,7 @@ # OUT IA32_DESCRIPTOR *Idtr # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(InternalX86WriteIdtr) +ASM_GLOBAL ASM_PFX(InternalX86WriteIdtr) ASM_PFX(InternalX86WriteIdtr): movl 4(%esp), %eax lidt (%eax) diff --git a/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S b/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S index a368269680..133f6255eb 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteLdtr.S @@ -28,7 +28,7 @@ # IN UINT16 Ldtr # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteLdtr) +ASM_GLOBAL ASM_PFX(AsmWriteLdtr) ASM_PFX(AsmWriteLdtr): movl 4(%esp), %eax lldtw %ax diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm0.S b/MdePkg/Library/BaseLib/Ia32/WriteMm0.S index d79754766f..5db52d4493 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm0.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm0.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm0) +ASM_GLOBAL ASM_PFX(AsmWriteMm0) ASM_PFX(AsmWriteMm0): movq 4(%esp), %mm0 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm1.S b/MdePkg/Library/BaseLib/Ia32/WriteMm1.S index 9e64e31868..7cd2f4948a 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm1.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm1.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm1) +ASM_GLOBAL ASM_PFX(AsmWriteMm1) ASM_PFX(AsmWriteMm1): movq 4(%esp), %mm1 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm2.S b/MdePkg/Library/BaseLib/Ia32/WriteMm2.S index 793fc4dd0d..8cd336e840 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm2.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm2.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm2) +ASM_GLOBAL ASM_PFX(AsmWriteMm2) ASM_PFX(AsmWriteMm2): movq 4(%esp), %mm2 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm3.S b/MdePkg/Library/BaseLib/Ia32/WriteMm3.S index 08c8017456..92a4d098c9 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm3.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm3.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm3) +ASM_GLOBAL ASM_PFX(AsmWriteMm3) ASM_PFX(AsmWriteMm3): movq 4(%esp), %mm3 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm4.S b/MdePkg/Library/BaseLib/Ia32/WriteMm4.S index 9e8b5a70c1..86f1caed70 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm4.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm4.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm4) +ASM_GLOBAL ASM_PFX(AsmWriteMm4) ASM_PFX(AsmWriteMm4): movq 4(%esp), %mm4 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm5.S b/MdePkg/Library/BaseLib/Ia32/WriteMm5.S index 62c2368263..7343c6835e 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm5.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm5.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm5) +ASM_GLOBAL ASM_PFX(AsmWriteMm5) ASM_PFX(AsmWriteMm5): movq 4(%esp), %mm5 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm6.S b/MdePkg/Library/BaseLib/Ia32/WriteMm6.S index e7f999b129..55a188544a 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm6.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm6.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm6) +ASM_GLOBAL ASM_PFX(AsmWriteMm6) ASM_PFX(AsmWriteMm6): movq 4(%esp), %mm6 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMm7.S b/MdePkg/Library/BaseLib/Ia32/WriteMm7.S index 784d54c60c..b9433200ba 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMm7.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMm7.S @@ -28,7 +28,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMm7) +ASM_GLOBAL ASM_PFX(AsmWriteMm7) ASM_PFX(AsmWriteMm7): movq 4(%esp), %mm7 ret diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S b/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S index 42a70d041a..cb088dc29e 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S +++ b/MdePkg/Library/BaseLib/Ia32/WriteMsr64.S @@ -29,7 +29,7 @@ # IN UINT64 Value # ); #------------------------------------------------------------------------------ -.globl ASM_PFX(AsmWriteMsr64) +ASM_GLOBAL ASM_PFX(AsmWriteMsr64) ASM_PFX(AsmWriteMsr64): movl 12(%esp), %edx movl 8(%esp), %eax -- cgit v1.2.3