aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorUlf Carlsson <ulfc@engr.sgi.com>2000-07-02 01:18:49 +0000
committerUlf Carlsson <ulfc@engr.sgi.com>2000-07-02 01:18:49 +0000
commit8614eeee67f98b831035247ca1aa4b554e2586bb (patch)
treead9a758fdb3d3e6f0fbbe7394162f23f87005666 /gas/configure.in
parentdd745cfae548d60e6e2d5bf544376ca3024c9b0d (diff)
downloadgdb-8614eeee67f98b831035247ca1aa4b554e2586bb.zip
gdb-8614eeee67f98b831035247ca1aa4b554e2586bb.tar.gz
gdb-8614eeee67f98b831035247ca1aa4b554e2586bb.tar.bz2
2000-07-01 Koundinya K <kk@ddeorg.soft.net>
* configure.in: Add entry for mips-*-sysv4*MP* * configure: Rebuild * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or elf32-tradlittlemips for traditional mips targets. * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the test for Link Once sections as in adjust_reloc_syms. * config/te-tmips.h: New file for traditional mips targets. Define TE_TMIPS.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/configure.in b/gas/configure.in
index f7cf1ea..df24951 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -319,6 +319,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 ;;
@@ -562,6 +567,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
+ ;;
# i386-pc-pe-coff != i386-pc-coff.
i386-*-pe-coff) ;;
# Uncommenting the next line will turn on support for i386 AOUT
@@ -723,6 +732,11 @@ if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
# 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