X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FIa32%2FProcessorBind.h;h=edf881b7ee5f13be57cc88583fdd9bf1c67406fb;hp=5bb57fc7e208455a0c16cdbc6eb69d2dd8f23d2c;hb=1a2f870c9babe077c2d3abea23b6e8e044778341;hpb=7076244ef4005642712f32591abbd8188d6b6f40 diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 5bb57fc7e2..edf881b7ee 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -1,5 +1,5 @@ /** @file - Processor or Compiler specific defines and types for Ia32 architecture. + Processor or Compiler specific defines and types for IA-32 architecture. Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials @@ -333,7 +333,7 @@ typedef INT32 INTN; #endif // -// Macros for GNU assembly code +// For symbol name in GNU assembly code, an extra "_" is necessary // #if defined(__GNUC__) #if defined(linux) @@ -341,16 +341,11 @@ typedef INT32 INTN; #else #define ASM_PFX(name) _##name #endif - /// - /// For GNU assembly code, .global or .globl can declare global symbols. - /// Define this macro to unify the usage. - /// - #define ASM_GLOBAL .globl #endif /** Return the pointer to the first instruction of a function given a function pointer. - On IA32 CPU architectures, these two pointer values are the same, + On IA-32 CPU architectures, these two pointer values are the same, so the implementation of this macro is very simple. @param FunctionPointer A pointer to a function.