]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/ReadCr2.S
1. Remove .extern from GCC assembly.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / ReadCr2.S
index 665a401b7cebe60469e5a58dd1ab5a7c2d45ea21..26c2c2f27143b6b2d666781c40fd9792bc83940d 100644 (file)
@@ -29,7 +29,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global ASM_PFX(AsmReadCr2)\r
+ASM_GLOBAL ASM_PFX(AsmReadCr2)\r
 .align 16\r
 ASM_PFX(AsmReadCr2):\r
     mov     %cr2, %rax\r