]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteDr7.S
1. Remove .extern from GCC assembly.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteDr7.S
index cc0e2187ee9ebb71103773ceb7340a10034d74d1..616b9c1db209f637b61d0c7c595d4d94ac9a4dfc 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 UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global ASM_PFX(AsmWriteDr7)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr7)\r
 ASM_PFX(AsmWriteDr7):\r
     mov     %rcx, %dr7\r
     mov     %rcx, %rax\r