diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-04-13 21:06:54 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-04-13 21:06:54 +0000 |
commit | 64e0b9312c9c3d9396ce8262b3fde6f372748802 (patch) | |
tree | 14b1cd5376c00c2d2faafe6ac79616a57037c517 /gnu/usr.bin/binutils | |
parent | a3a2ac58885b86d5bb9e2901a633ce6f69f6ef37 (diff) |
More consistent MIPS config
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r-- | gnu/usr.bin/binutils/gas/configure | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gas/configure b/gnu/usr.bin/binutils/gas/configure index 7ad68d81fcc..1b2484db4e2 100644 --- a/gnu/usr.bin/binutils/gas/configure +++ b/gnu/usr.bin/binutils/gas/configure @@ -843,7 +843,12 @@ for this_target in $target $canon_targets ; do # don't change em like *-*-bsd does mips-dec-netbsd*) fmt=elf targ=mips-lit endian=little ;; - mips-*-openbsd*) fmt=elf targ=mips-lit endian=little ;; + mips-*-openbsd*) fmt=elf + case "$endian" in + big) targ=mips-big ;; + *) targ=mips-lit ;; + esac + ;; mips-dec-bsd*) fmt=aout targ=mips-lit ;; mips-sony-bsd*) fmt=ecoff targ=mips-big ;; mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; |