Very Minor patch to generalize part of the emulations handling in gas/configure.in

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Sat May 20 08:34:00 GMT 2000


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


More information about the Binutils mailing list