#define TE_IC960 1
 
-/* intel uses host byte order for headers */
-#ifdef CROSS_COMPILE
-#undef CROSS_COMPILE
-#endif /* CROSS_COMPILE */
-
 #define OBJ_COFF_OMIT_OPTIONAL_HEADER
 #define LOCAL_LABEL(name) ((name[0] =='L') \
                           || (name[0] =='.' \
 
   i[34]86-ibm-aix*)            gas_host=i386aix        ;;
   i[34]86-*-isc*)              gas_host=sysv           ;;
   i386-sun-sunos*)             gas_host=sun386         ;;
-  i386-*-mach3*)               gas_host=mach3          ;;
+  i386-*-mach*)                        gas_host=mach3          ;;
 
   m68k-sun-sunos*)             gas_host=sun3           ;;
   m68*-*-hpux)                 gas_host=hpux           ;;
                        obj_format=coffbfd gas_target=i386coff ;;
   i386-*-vsta)         obj_format=aout ;;
   i386-*-go32)         obj_format=aout ;;
-  i386-*-mach3*)       obj_format=aout emulation=mach bfd_gas=yes ;;
+  i386-*-mach*)                obj_format=aout emulation=mach bfd_gas=yes ;;
 
   i960-*-bout)         obj_format=bout ;;
-  i960-*-coff)         obj_format=coff emulation=ic960 ;;
+  i960-*-coff)         obj_format=coffbfd emulation=ic960 gas_target=ic960coff ;;
   i960-*-nindy*)       obj_format=bout ;;
   i960-*-vxworks4*)    obj_format=bout ;;
   i960-*-vxworks5.0)   obj_format=bout ;;
-  i960-*-vxworks5.*)   obj_format=coff emulation=ic960 ;;
+  i960-*-vxworks5.*)   obj_format=coffbfd emulation=ic960 gas_target=ic960coff ;;
   i960-*-vxworks*)     obj_format=bout ;;
 
   m68k-wrs-vxworks | m68k-ericsson-ose | m68k-*-sunos*)