summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseMemoryLibMmx/X64
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx/X64')
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S2
11 files changed, 11 insertions, 11 deletions
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S
index 308c1e0ce6..c207db7dda 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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/BaseMemoryLibMmx/X64/CopyMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S
index 19f70034f6..3a336f7e98 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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/BaseMemoryLibMmx/X64/ScanMem16.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S
index 26b463bd84..140b0a40e5 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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/BaseMemoryLibMmx/X64/ScanMem32.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S
index 9acbe788b8..9420725d5e 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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/BaseMemoryLibMmx/X64/ScanMem64.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S
index addc05758d..d39f17fac3 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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/BaseMemoryLibMmx/X64/ScanMem8.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S
index c5b5a55cbf..74667a6200 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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/BaseMemoryLibMmx/X64/SetMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S
index 73ff47058a..814d20c7ce 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S
index 5fdb844330..e3e6620314 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/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 rax, r8
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S
index 73a546113d..a67ca6a843 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S
@@ -35,7 +35,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem32)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)
ASM_PFX(InternalMemSetMem32):
movq mm0, r8 # mm0 <- Value
mov rax, rcx # rax <- Buffer
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S
index 618412ac18..36312d4e7e 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S
@@ -34,7 +34,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem64)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)
ASM_PFX(InternalMemSetMem64):
movq mm0, r8 #Value
mov rax, rcx #rax <- Buffer
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S
index 1dbc3be847..b5dec03031 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S
@@ -33,7 +33,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemZeroMem)
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)
ASM_PFX(InternalMemZeroMem):
push rdi
mov rdi, rcx