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