]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteCr3.S
1. Remove .extern from GCC assembly.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteCr3.S
index 64ac43568efd63d277072c4d3bd10efd1da40ddd..756e97cfaf44e962b8ad9d42b0766c7bb85a1e6b 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  Cr3\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global ASM_PFX(AsmWriteCr3)\r
+ASM_GLOBAL ASM_PFX(AsmWriteCr3)\r
 ASM_PFX(AsmWriteCr3):\r
     mov    %rcx,%cr3\r
     mov    %rcx,%rax\r