Patch to allow suppression of ARM multilibs

Nick Clifton nickc@cygnus.com
Thu Oct 21 03:54:00 GMT 1999


Hi Guys,

  I have checked in the following small patch to config-ml.in to allow
  the suppression of some of the ARM multilibs when configuring an ARM
  toolchain.

Cheers
	Nick


1999-10-21  Nick Clifton  <nickc@cygnus.com>

	* config-ml.in: Allow suppression of some ARM multilibs.

Index: config-ml.in
===================================================================
RCS file: /cvs/gcc/egcs/config-ml.in,v
retrieving revision 1.7
diff -p -r1.7 config-ml.in
*** config-ml.in	1999/08/25 07:14:07	1.7
--- config-ml.in	1999/10/21 10:52:14
*************** arc-*-elf*)
*** 218,223 ****
--- 218,292 ----
  	  done
  	fi
  	;;
+ arm-*-*)
+ 	if [ x"$enable_fpu" = xno ]
+ 	then
+ 	  old_multidirs=${multidirs}
+ 	  multidirs=""
+ 	  for x in ${old_multidirs}; do
+ 	    case "${x}" in
+ 	      *fpu*) : ;;
+ 	      *) multidirs="${multidirs} ${x}" ;;
+ 	    esac
+ 	  done
+ 	fi
+ 	if [ x"$enable_26bit" = xno ]
+ 	then
+ 	  old_multidirs=${multidirs}
+ 	  multidirs=""
+ 	  for x in ${old_multidirs}; do
+ 	    case "${x}" in
+ 	      *26bit*) : ;;
+ 	      *) multidirs="${multidirs} ${x}" ;;
+ 	    esac
+ 	  done
+ 	fi
+ 	if [ x"$enable_underscore" = xno ]
+ 	then
+ 	  old_multidirs=${multidirs}
+ 	  multidirs=""
+ 	  for x in ${old_multidirs}; do
+ 	    case "${x}" in
+ 	      *under*) : ;;
+ 	      *) multidirs="${multidirs} ${x}" ;;
+ 	    esac
+ 	  done
+ 	fi
+ 	if [ x"$enable_interwork" = xno ]
+ 	then
+ 	  old_multidirs=${multidirs}
+ 	  multidirs=""
+ 	  for x in ${old_multidirs}; do
+ 	    case "${x}" in
+ 	      *interwork*) : ;;
+ 	      *) multidirs="${multidirs} ${x}" ;;
+ 	    esac
+ 	  done
+ 	fi
+ 	if [ x$enable_biendian = xno ]
+ 	then
+ 	  old_multidirs="${multidirs}"
+ 	  multidirs=""
+ 	  for x in ${old_multidirs}; do
+ 	    case "$x" in
+ 	      *le* ) : ;;
+ 	      *be* ) : ;;
+ 	      *) multidirs="${multidirs} ${x}" ;;
+ 	    esac
+ 	  done
+ 	fi
+ 	if [ x"$enable_nofmult" = xno ]
+ 	then
+ 	  old_multidirs="${multidirs}"
+ 	  multidirs=""
+ 	  for x in ${old_multidirs}; do
+ 	    case "$x" in
+ 	      *nofmult* ) : ;;
+ 	      *) multidirs="${multidirs} ${x}" ;;
+ 	    esac
+ 	  done
+ 	fi
+ 	;;
  m68*-*-*)
  	if [ x$enable_softfloat = xno ]
  	then


More information about the Gcc-patches mailing list