summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseMemoryLibOptPei
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibOptPei')
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/Ia32/ZeroMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/CopyMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/ZeroMem.S2
22 files changed, 22 insertions, 22 deletions
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CompareMem.S
index 80b08b41e7..c038d68b96 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CompareMem.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemCompareMem)
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)
#------------------------------------------------------------------------------
# INTN
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S
index 41aea6cdbb..436dc32c0e 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemCopyMem)
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem16.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem16.S
index e6f074ad87..6af8b49928 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem16.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem16)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem32.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem32.S
index dfc36fdb66..d824177e3c 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem32.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem32)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem64.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem64.S
index 576c1e1f77..2b44deaaf4 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem64.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem64)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem8.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem8.S
index 072dde89a4..2e22aa0594 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem8.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem8)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem.S
index 726ccd76fb..e6324caa14 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem16.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem16.S
index 4f1ec70e7f..3eb7bdb6a5 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem16.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem16)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem32.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem32.S
index 309ff739b3..5770c8d270 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem32)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem64.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem64.S
index c0fa108713..0b9e798266 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem64)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ZeroMem.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ZeroMem.S
index d192e2f573..d169d8e4c3 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/ZeroMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemZeroMem)
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/CompareMem.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/CompareMem.S
index 308c1e0ce6..c207db7dda 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/CompareMem.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemCompareMem)
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)
ASM_PFX(InternalMemCompareMem):
push rsi
push rdi
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/CopyMem.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/CopyMem.S
index 43cbeb91b2..2ab574621e 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/CopyMem.S
@@ -35,7 +35,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemCopyMem)
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)
ASM_PFX(InternalMemCopyMem):
push rsi
push rdi
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem16.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem16.S
index 26b463bd84..140b0a40e5 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem16.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem16)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)
ASM_PFX(InternalMemScanMem16):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem32.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem32.S
index 9acbe788b8..9420725d5e 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem32.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem32)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)
ASM_PFX(InternalMemScanMem32):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem64.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem64.S
index 17976eb85b..917c37c3c5 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem64.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem64)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)
ASM_PFX(InternalMemScanMem64):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem8.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem8.S
index c5b5a55cbf..74667a6200 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem8.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem8)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)
ASM_PFX(InternalMemScanMem8):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.S
index 1d4e73ced7..cae41c3cab 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.S
@@ -35,7 +35,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)
ASM_PFX(InternalMemSetMem):
push rdi
mov rax, r8 # rax = Value
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem16.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem16.S
index c1cb0a8644..c091131a75 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem16.S
@@ -35,7 +35,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem16)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)
ASM_PFX(InternalMemSetMem16):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem32.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem32.S
index 2230358e15..9fbcdafcb4 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem32.S
@@ -35,7 +35,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem32)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)
ASM_PFX(InternalMemSetMem32):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem64.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem64.S
index 71cef0bde7..c4f0b4685d 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem64.S
@@ -34,7 +34,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem64)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)
ASM_PFX(InternalMemSetMem64):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/ZeroMem.S b/MdePkg/Library/BaseMemoryLibOptPei/X64/ZeroMem.S
index a394c0f080..73bb786943 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/ZeroMem.S
@@ -33,7 +33,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemZeroMem)
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)
ASM_PFX(InternalMemZeroMem):
push rdi
push rcx