This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ARM: Skip -mthumb as well as -mthumb-interwork multilibs when -mcpu=arm7 is specified


Hi Guys,

  I have applied the following small patch to skip an set of
  unnecessary multilibs for the arm-elf target.

Cheers
        Nick

2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>

	* config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
	as -mthumb-interwork when -mcpu=arm7 is specified.

Index: config/arm/t-arm-elf
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/t-arm-elf,v
retrieving revision 1.13
diff -p -r1.13 t-arm-elf
*** t-arm-elf	2001/05/17 03:15:48	1.13
--- t-arm-elf	2001/07/30 16:23:38
*************** MULTILIB_EXCEPTIONS  = 
*** 45,51 ****
  # 
  # MULTILIB_OPTIONS    += mcpu=arm7
  # MULTILIB_DIRNAMES   += nofmult
! # MULTILIB_EXCEPTIONS += *mthumb-interwork*/*mcpu=arm7*
  # # We have to match all the arm cpu variants which do not have the
  # # multiply instruction and treat them as if the user had specified
  # # -mcpu=arm7.  Note that in the following the ? is interpreted as
--- 45,54 ----
  # 
  # MULTILIB_OPTIONS    += mcpu=arm7
  # MULTILIB_DIRNAMES   += nofmult
! # MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=arm7*
! # # Note: the multilib_exceptions matches both -mthumb and
! # # -mthumb-interwork
! # #
  # # We have to match all the arm cpu variants which do not have the
  # # multiply instruction and treat them as if the user had specified
  # # -mcpu=arm7.  Note that in the following the ? is interpreted as


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]