]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/ReadTsc.S
Fixed issues compiling for Apple gcc on IA-32
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / BaseLib / X64 / ReadTsc.S
index f929443e2cf59b4c4f2a18039d4fc688371ccf62..3464d2b86bd4ab5fe519f00bfb05ea703352d084 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, 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,8 +29,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global ASM_PFX(AsmReadTsc)\r
-.align 16\r
+.globl ASM_PFX(AsmReadTsc)\r
 ASM_PFX(AsmReadTsc):\r
     rdtsc\r
     shl     $0x20, %rdx\r