Index: CMakeCompilerABI.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeCompilerABI.h,v
retrieving revision 1.3
diff -b -u -p -r1.3 CMakeCompilerABI.h
--- CMakeCompilerABI.h	23 Jan 2008 22:53:18 -0000	1.3
+++ CMakeCompilerABI.h	27 Jan 2010 20:47:35 -0000
@@ -17,6 +17,24 @@ const char info_sizeof_dptr[] =  {
 # define ABI_ID "ELF N32"
 #elif defined(__sgi) && defined(_ABI64)
 # define ABI_ID "ELF 64"
+/* check for gcc for ARM, may support ARM EABI */
+#elif defined(__GNU__) && defined(__ELF__) && defined(__ARM_EABI__)
+# define ABI_ID "ELF ARMEABI"
+#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__)
+# define ABI_ID "ELF ARM"
+#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__)
+# define ABI_ID "ELF ARM"
+/* Check for the IAR compilers, they also generate ELF files. 
+ * When called with --aeabi, they are EABI compatible, but I think we cannot
+ * test for this here. */
+#elif defined(__ICCARM__)
+# define ABI_ID "ELF ARM"
+/* The IAR AVR linker supports many output formats, also ELF, but I think we 
+ * cannot test for this here. */ 
+#elif defined(__ICCAVR__)
+# define ABI_ID "IAR AVR"
+#elif defined(__ICCAVR32__)
+# define ABI_ID "IAR AVR32"
 #elif defined(__ELF__)
 # define ABI_ID "ELF"
 #endif
