]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteDr1.S
1. Remove .extern from GCC assembly.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteDr1.S
index 416102e5323695325a01f231f9180b96f5b84245..297217b459ca24a847e5c0d564c33432657e97df 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 @@
 #   UINTN  Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global ASM_PFX(AsmWriteDr1)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr1)\r
 .align 16\r
 ASM_PFX(AsmWriteDr1):\r
     mov     %rcx, %dr1\r