This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Very Minor patch to generalize part of the emulations handling in gas/configure.in
- To: binutils at sourceware dot cygnus dot com
- Subject: Very Minor patch to generalize part of the emulations handling in gas/configure.in
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Sat, 20 May 2000 17:34:18 +0200
Generalization is the root of all evil (possible misquote).
I confess I was tempted by the chance to get rid of this single
place of the many places that needs tweaking for target-specific
stuff.
Ok to install?
Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
* configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
Generalize to *aout, *coff *elf.
* configure: Regenerated.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.26
diff -p -c -r1.26 configure.in
*************** for em in . $emulations ; do
*** 676,687 ****
fmt=elf file=mipself ;;
mipsbecoff | mipslecoff)
fmt=ecoff file=mipsecoff ;;
! i386aout)
! fmt=aout file=i386aout ;;
! i386coff)
! fmt=coff file=i386coff ;;
! i386elf)
! fmt=elf file=i386elf ;;
esac
formats="$formats $fmt"
emfiles="$emfiles e-$file.o"
--- 683,694 ----
fmt=elf file=mipself ;;
mipsbecoff | mipslecoff)
fmt=ecoff file=mipsecoff ;;
! *coff)
! fmt=coff file=$em ;;
! *aout)
! fmt=aout file=$em ;;
! *elf)
! fmt=elf file=$em ;;
esac
formats="$formats $fmt"
emfiles="$emfiles e-$file.o"
brgds, H-P