ld/configure.tgt: Fix obvious cris-*-* before cris-*-*aout* ordering problem, committed.

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Mon Mar 26 17:55:00 GMT 2001


Oops.  I accidentally put the wildcard case before the specific
case in the patch recently approved.

This patch was committed as obvious.  Huh, it seems assembling to a.out
and linking to ELF still worked, at least for the test-suite...

(No new ChangeLog entry; committed back-to-back on the previous entry.)

Sorry.

Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.42.2.3
diff -p -c -r1.42.2.3 configure.tgt
*** configure.tgt	2001/03/27 00:58:59	1.42.2.3
--- configure.tgt	2001/03/27 01:40:53
*************** arm-*-pe)		targ_emul=armpe ;
*** 23,33 ****
  arc-*-elf*)		targ_emul=arcelf ;;
  avr-*-*)		targ_emul=avr85xx
  			targ_extra_emuls="avr1200 avr23xx avr44x4 avr4433 avrmega603 avrmega103 avrmega161" ;;
- cris-*-*)		targ_emul=criself
- 			targ_extra_emuls="crisaout crislinux"
- 			targ_extra_libpath=$targ_extra_emuls ;;
  cris-*-*aout*)		targ_emul=crisaout
  			targ_extra_emuls="criself crislinux"
  			targ_extra_libpath=$targ_extra_emuls ;;
  d10v-*-*)		targ_emul=d10velf ;;
  d30v-*-*ext*)		targ_emul=d30v_e; targ_extra_emuls="d30velf d30v_o" ;;
--- 23,33 ----
  arc-*-elf*)		targ_emul=arcelf ;;
  avr-*-*)		targ_emul=avr85xx
  			targ_extra_emuls="avr1200 avr23xx avr44x4 avr4433 avrmega603 avrmega103 avrmega161" ;;
  cris-*-*aout*)		targ_emul=crisaout
  			targ_extra_emuls="criself crislinux"
+ 			targ_extra_libpath=$targ_extra_emuls ;;
+ cris-*-*)		targ_emul=criself
+ 			targ_extra_emuls="crisaout crislinux"
  			targ_extra_libpath=$targ_extra_emuls ;;
  d10v-*-*)		targ_emul=d10velf ;;
  d30v-*-*ext*)		targ_emul=d30v_e; targ_extra_emuls="d30velf d30v_o" ;;

brgds, H-P



More information about the Binutils mailing list