]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteMm3.S
1. Remove .extern from GCC assembly.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteMm3.S
index 0bf1ef24d90024f9cc1bece1ee642f0267cb8ac9..c576e46bc7dede95e1aa9a01092f43386d052f31 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -29,7 +29,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global ASM_PFX(AsmWriteMm3)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm3)\r
 ASM_PFX(AsmWriteMm3):\r
-    movd       %rcx, %mm3\r
+    movd  %rcx, %mm3\r
     ret\r