Deji Akingunola 6e9c4c
--- CONFIG/include/atlconf.h	2011-05-14 13:33:24.000000000 -0400
Deji Akingunola 6e9c4c
+++ CONFIG/include/atlconf.h.new	2011-08-30 14:25:41.427136391 -0400
Deji Akingunola 6e9c4c
@@ -16,7 +16,7 @@
Deji Akingunola 6e9c4c
 
Deji Akingunola 6e9c4c
 enum ARCHFAM {AFOther=0, AFPPC, AFSPARC, AFALPHA, AFX86, AFIA64, AFMIPS};
Deji Akingunola 6e9c4c
 
Deji Akingunola 6e9c4c
-#define NMACH 37
Deji Akingunola 6e9c4c
+#define NMACH 38
Deji Akingunola 6e9c4c
 static char *machnam[NMACH] =
Deji Akingunola 6e9c4c
    {"UNKNOWN", "POWER3", "POWER4", "POWER5", "PPCG4", "PPCG5",
Deji Akingunola 6e9c4c
     "POWER6", "POWER7",
Deji Akingunola 6e9c4c
@@ -25,7 +25,7 @@
Deji Akingunola 6e9c4c
     "Efficeon", "K7", "HAMMER", "AMD64K10h", "UNKNOWNx86",
Deji Akingunola 6e9c4c
     "IA64Itan", "IA64Itan2",
Deji Akingunola 6e9c4c
     "USI", "USII", "USIII", "USIV", "UST2", "UnknownUS",
Deji Akingunola 6e9c4c
-    "MIPSR1xK", "MIPSICE9"};
Deji Akingunola 6e9c4c
+    "MIPSR1xK", "MIPSICE9", "ARM"};
Deji Akingunola 6e9c4c
 enum MACHTYPE {MACHOther, IbmPwr3, IbmPwr4, IbmPwr5, PPCG4, PPCG5,
Deji Akingunola 6e9c4c
                IbmPwr6, IbmPwr7,
Deji Akingunola 6e9c4c
                IntP5, IntP5MMX, IntPPRO, IntPII, IntPIII, IntPM, IntCoreS,
Deji Akingunola 6e9c4c
@@ -34,7 +34,8 @@
Deji Akingunola 6e9c4c
                IA64Itan, IA64Itan2,
Deji Akingunola 6e9c4c
                SunUSI, SunUSII, SunUSIII, SunUSIV, SunUST2, SunUSX,
Deji Akingunola 6e9c4c
                MIPSR1xK, /* includes R10K, R12K, R14K, R16K */
Deji Akingunola 6e9c4c
-               MIPSICE9   /* SiCortex ICE9 -- like MIPS5K */
Deji Akingunola 6e9c4c
+               MIPSICE9,   /* SiCortex ICE9 -- like MIPS5K */
Deji Akingunola 6e9c4c
+	       ARM
Deji Akingunola 6e9c4c
                };
Deji Akingunola 6e9c4c
 #define MachIsX86(mach_) \
Deji Akingunola 6e9c4c
    ( (mach_) >= IntP5 && (mach_) <= x86X )
Deji Akingunola 6e9c4c
@@ -51,6 +52,8 @@
Deji Akingunola 6e9c4c
 #endif
Deji Akingunola 6e9c4c
 #define MachIsPPC(mach_) \
Deji Akingunola 6e9c4c
    ( (mach_) >= PPCG4 && (mach_) <= PPCG5 )
Deji Akingunola 6e9c4c
+#define MachIsARM(mach_) \
Deji Akingunola 6e9c4c
+   ( (mach_) == ARM )
Deji Akingunola 6e9c4c
 
Deji Akingunola 6e9c4c
 static char *f2c_namestr[5] = {"UNKNOWN","Add_", "Add__", "NoChange", "UpCase"};
Deji Akingunola 6e9c4c
 static char *f2c_intstr[5] =
Deji Akingunola 6e9c4c
--- CONFIG/src/probe_comp.c	2011-05-14 13:33:24.000000000 -0400
Deji Akingunola 6e9c4c
+++ CONFIG/src/probe_comp.c.new	2011-08-30 14:28:31.103015151 -0400
Deji Akingunola 6e9c4c
@@ -507,6 +507,8 @@
Deji Akingunola 6e9c4c
 
Deji Akingunola 6e9c4c
    if (MachIsIA64(arch))
Deji Akingunola 6e9c4c
       return(sp);
Deji Akingunola 6e9c4c
+   if (MachIsARM(arch))
Deji Akingunola 6e9c4c
+      return(sp);
Deji Akingunola 6e9c4c
    if (MachIsMIPS(arch))
Deji Akingunola 6e9c4c
       return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32");
Deji Akingunola 6e9c4c
    if (!CompIsGcc(comp))