This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[RFA:] gas and ld: cris-*-*: Change default emulation to criself.
- To: binutils at sources dot redhat dot com
- Subject: [RFA:] gas and ld: cris-*-*: Change default emulation to criself.
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Fri, 23 Mar 2001 14:12:10 +0100
It seems it would help testing to not require spells when
testing ELF support, as well as when doing bulk target testing
and assuming that *-elf is a valid target specifier. I take the
opportunity to make ELF the default format for --target=cris too.
Ok to commit, head and 1.11-branch?
gas/ChangeLog:
2001-03-23 Hans-Peter Nilsson <hp@axis.com>
* configure.in (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
* configure: Regenerate.
ld/ChangeLog:
2001-03-23 Hans-Peter Nilsson <hp@axis.com>
* configure.tgt (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.61
diff -p -c -r1.61 configure.in
*** configure.in 2001/02/27 06:43:54 1.61
--- configure.in 2001/03/23 12:48:05
*************** changequote([,])dnl
*** 621,628 ****
i386-*-coff) emulation="i386coff" ;;
i386-*-elf) emulation="i386elf" ;;
! # Always all formats. Having a.out first makes it the default.
! cris-*-*) emulation="crisaout criself" ;;
esac
emulations="$emulations $emulation"
--- 621,629 ----
i386-*-coff) emulation="i386coff" ;;
i386-*-elf) emulation="i386elf" ;;
! # Always all formats. The first stated emulation becomes the default.
! cris-*-*aout*) emulation="crisaout criself" ;;
! cris-*-*) emulation="criself crisaout" ;;
esac
emulations="$emulations $emulation"
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.49
diff -p -c -r1.49 configure.tgt
*** configure.tgt 2001/02/22 17:24:32 1.49
--- configure.tgt 2001/03/23 12:44:19
*************** arm-*-pe) targ_emul=armpe ;
*** 23,29 ****
arc-*-elf*) targ_emul=arcelf ;;
avr-*-*) targ_emul=avr85xx
targ_extra_emuls="avr1200 avr23xx avr44x4 avr4433 avrmega603 avrmega103 avrmega161" ;;
! cris-*-*) targ_emul=crisaout
targ_extra_emuls="criself crislinux"
targ_extra_libpath=$targ_extra_emuls ;;
d10v-*-*) targ_emul=d10velf ;;
--- 23,32 ----
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 ;;
brgds, H-P