Author: sje
Date: 2010-07-06 19:03:20 -0400 (Tue, 06 Jul 2010)
New Revision: 3269

Modified:
   trunk/osprey/common/ipfec_targ_info/gen/itanium_gen.cxx
Log:
Add extra argument to EKAPI_MapResource call so that the varargs does not
try to access more arguments then are passed.

Approved by: Roy Ju


Modified: trunk/osprey/common/ipfec_targ_info/gen/itanium_gen.cxx
===================================================================
--- trunk/osprey/common/ipfec_targ_info/gen/itanium_gen.cxx     2010-07-06 
19:14:50 UTC (rev 3268)
+++ trunk/osprey/common/ipfec_targ_info/gen/itanium_gen.cxx     2010-07-06 
23:03:20 UTC (rev 3269)
@@ -109,57 +109,57 @@
                       kapi_utM, 0,
                       kapi_utM, 1,
                       kapi_utM, 2,
-                      kapi_utM, 3, -1);
+                      kapi_utM, 3, -1, -1);
     EKAPI_MapResource(pknobs, "memory", 0,
                       kapi_utM, 0,
                       kapi_utM, 1,
                       kapi_utM, 2,
-                      kapi_utM, 3, -1);
+                      kapi_utM, 3, -1, -1);
     EKAPI_MapResource(pknobs, "memory_ld", 0,
                       kapi_utM, 0,
-                      kapi_utM, 1, -1);
+                      kapi_utM, 1, -1, -1);
     EKAPI_MapResource(pknobs, "memory_st", 0,
                       kapi_utM, 2,
-                      kapi_utM, 3, -1);
+                      kapi_utM, 3, -1, -1);
     EKAPI_MapResource(pknobs, "memory0", 0,
-                      kapi_utM, 0, -1);
+                      kapi_utM, 0, -1, -1);
     EKAPI_MapResource(pknobs, "memory2", 0,
-                      kapi_utM, 2, -1);
+                      kapi_utM, 2, -1, -1);
 
     } else {/* Itanium */
     EKAPI_MapResource(pknobs, "integer_or_memory", 0, 
                       kapi_utI, 0,
                       kapi_utI, 1,
                       kapi_utM, 0,
-                      kapi_utM, 1, -1);
+                      kapi_utM, 1, -1, -1);
     EKAPI_MapResource(pknobs, "memory", 0,
                       kapi_utM, 0,
-                      kapi_utM, 1, -1);
+                      kapi_utM, 1, -1, -1);
     EKAPI_MapResource(pknobs, "memory0", 0,
-                      kapi_utM, 0, -1);
+                      kapi_utM, 0, -1, -1);
     }
     EKAPI_MapResource(pknobs, "floating-point", 0,
                       kapi_utF, 0,
-                      kapi_utF, 1, -1); 
+                      kapi_utF, 1, -1, -1); 
     EKAPI_MapResource(pknobs, "floating-point0", 0,
-                      kapi_utF, 0, -1);                  
+                      kapi_utF, 0, -1, -1);                  
     EKAPI_MapResource(pknobs, "integer", 0,
                       kapi_utI, 0,
-                      kapi_utI, 1, -1); 
+                      kapi_utI, 1, -1, -1); 
     EKAPI_MapResource(pknobs, "integer0", 0,
-                      kapi_utI, 0, -1);                      
+                      kapi_utI, 0, -1, -1);                      
     EKAPI_MapResource(pknobs, "branch", 0,
                       kapi_utB, 0,
                       kapi_utB, 1,
-                      kapi_utB, 2, -1); 
+                      kapi_utB, 2, -1, -1); 
     EKAPI_MapResource(pknobs, "B0_or_B1", 0,
                       kapi_utB, 0,
-                      kapi_utB, 1, -1);
+                      kapi_utB, 1, -1, -1);
     EKAPI_MapResource(pknobs, "B0_or_B2", 0,
                       kapi_utB, 0,
-                      kapi_utB, 2, -1);
+                      kapi_utB, 2, -1, -1);
     EKAPI_MapResource(pknobs, "B2", 0,
-                      kapi_utB, 2, -1);
+                      kapi_utB, 2, -1, -1);
     
     
    // EKAPI_MapResource(pknobs, "");


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to