--- gcc-3.2.1.orig/gcc/config/arm/t-arm-elf Mon Jun 30 07:42:11 2003 +++ gcc-3.2.1/gcc/config/arm/t-arm-elf Sun Jun 29 13:50:53 2003 @@ -33,12 +33,19 @@ MULTILIB_OPTIONS += mcpu=xscale mcpu=strongarm1110 mcpu=arm9tdmi MULTILIB_DIRNAMES += xscale strongarm armv4t +MULTILIB_OPTIONS += mlittle-endian/mbig-endian +MULTILIB_DIRNAMES += le be +MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle + # Note: the multilib_exceptions matches both -mthumb and # -mthumb-interwork MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=strongarm* MULTILIB_EXCEPTIONS += *mcpu=xscale*/*mcpu=strongarm* MULTILIB_EXCEPTIONS += *mcpu=xscale*/*mcpu=arm9* MULTILIB_EXCEPTIONS += *mcpu=strongarm*/*mcpu=arm9* +MULTILIB_EXCEPTIONS += *mcpu=strongarm*/*mbig-endian* +MULTILIB_EXCEPTIONS += *mcpu=arm9*/*mbig-endian* + # We have to match all the arm cpu variants which are similar to the # StrongARM 1110 or the ARM 9TDMI.