This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Patches to support traditional mips target (mips-dde-sysv4.2MP).
- To: binutils at sourceware dot cygnus dot com
- Subject: Patches to support traditional mips target (mips-dde-sysv4.2MP).
- From: "Koundinya.K" <kk at ddeorg dot soft dot net>
- Date: Wed, 03 May 2000 16:51:07 +0530
Here is the patch for binutils-000428/gas/configure.in
Index: configure.in
===================================================================
RCS file: /gnu/cvsroot/binutils-000428/gas/configure.in,v
retrieving revision 1.1.1.1
diff -u -p -b -r1.1.1.1 configure.in
--- configure.in 2000/04/29 05:24:57 1.1.1.1
+++ configure.in 2000/04/29 07:17:05
@@ -281,6 +281,11 @@ changequote([,])dnl
mips-*-irix*) fmt=ecoff ;;
mips-*-lnews*) fmt=ecoff em=lnews ;;
mips-*-riscos*) fmt=ecoff ;;
+ mips-*-sysv4*MP*) if test -d /usr/dde; then
+ fmt=elf
+ em=tmips
+ fi
+ ;;
mips-*-sysv*) fmt=ecoff ;;
mips-*-elf* | mips-*-rtems* | mips-*-linux-gnu* | mips-*-gnu* | mips-*-openbsd*)
fmt=elf ;;
@@ -513,6 +518,10 @@ changequote([,])dnl
big) emulation="mipsbelf mipslelf mipself" ;;
*) emulation="mipslelf mipsbelf mipself" ;;
esac ;;
+ mips-*-sysv4*MP*-*) if test -d /usr/dde; then
+ emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff"
+ fi
+ ;;
# Uncommenting the next line will turn on support for i386 AOUT
# for the default linux configuration
# i386-*-linux*-elf) emulation="i386elf i386aout" ;;
@@ -672,6 +681,11 @@ if test `set . $emfiles ; shift ; echo $
# USE_EMULATIONS or include any of the e-files as they will only be bloat.
case "${obj_format}${emfiles}" in
multi* | *mips*)
+ # if te_file is tmips, that means the target is mips-*-sysv4*MP* and we do
+ # not set it to multi.
+ if [[ $te_file -ne "tmips" ]]; then
+ te_file=multi
+ fi
extra_objects="$extra_objects $emfiles"
AC_DEFINE(USE_EMULATIONS, 1, [Use emulation support?]) ;;
esac