]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ia32/ProcessorBind.h
Second set of changes based on a review of the code comments in the Include directory...
[mirror_edk2.git] / MdePkg / Include / Ia32 / ProcessorBind.h
index 5bb57fc7e208455a0c16cdbc6eb69d2dd8f23d2c..edf881b7ee5f13be57cc88583fdd9bf1c67406fb 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Processor or Compiler specific defines and types for Ia32 architecture.\r
+  Processor or Compiler specific defines and types for IA-32 architecture.\r
 \r
   Copyright (c) 2006 - 2009, Intel Corporation<BR>                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
@@ -333,7 +333,7 @@ typedef INT32   INTN;
 #endif\r
 \r
 //\r
-// Macros for GNU assembly code\r
+// For symbol name in GNU assembly code, an extra "_" is necessary\r
 //\r
 #if defined(__GNUC__)\r
   #if defined(linux)\r
@@ -341,16 +341,11 @@ typedef INT32   INTN;
   #else\r
     #define ASM_PFX(name) _##name\r
   #endif \r
-  ///\r
-  /// For GNU assembly code, .global or .globl can declare global symbols.\r
-  /// Define this macro to unify the usage.\r
-  ///\r
-  #define ASM_GLOBAL .globl\r
 #endif\r
 \r
 /**\r
   Return the pointer to the first instruction of a function given a function pointer.\r
-  On IA32 CPU architectures, these two pointer values are the same, \r
+  On IA-32 CPU architectures, these two pointer values are the same, \r
   so the implementation of this macro is very simple.\r
   \r
   @param  FunctionPointer   A pointer to a function.\r