Add GLOBAL_FUNCTION macro for Itanium
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Dec 2006 04:01:41 +0000 (04:01 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Dec 2006 04:01:41 +0000 (04:01 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2116 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Ipf/IpfMacro.i

index 506b4b328ca510d918ee39cfbc79341b78a3982b..86fd3c1a8e03f2d26a688bb85bcae18fca4338bf 100644 (file)
@@ -41,6 +41,9 @@ name::
          mov ar##.##pfs=loc1 ;;\\r
          br##.##ret##.##dpnt  b0;;\r
 \r
+#define GLOBAL_FUNCTION(Function) \\r
+         .##type   Function, @function; \\r
+         .##global Function\r
 \r
 #define INTERRUPT_HANDLER_BEGIN(name) \\r
 PROCEDURE_ENTRY(name##HandlerBegin) \\r