From 5cda0c7a7f9fed9909912cba94915c478f5dddee Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 19 Dec 1994 20:06:12 +0000 Subject: [PATCH] * configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but reject other vendors until we can be sure we're consistent with bfd. --- gas/ChangeLog | 4 ++++ gas/configure | 45 ++++++++++++++++++++++++++------------------- gas/configure.in | 11 +++++++++-- 3 files changed, 39 insertions(+), 21 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c58aa88a01c..f05569127d3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ Mon Dec 19 13:49:07 1994 Ken Raeburn + * configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but + reject other vendors until we can be sure we're consistent with + bfd. + * config/obj-vms.c (Create_VMS_Object_File): Instead of formatting a buffer to pass to `error', just call `as_fatal' directly. (VMS_Psect_Spec): Ditto. diff --git a/gas/configure b/gas/configure index 47df84c9d36..3a3184ad1e5 100755 --- a/gas/configure +++ b/gas/configure @@ -638,9 +638,10 @@ case ${generic_target} in m88k-*-coff*) obj_format=coff gas_target=m88kcoff ;; - mips-sony-bsd*) obj_format=ecoff gas_target=mips-big ;; # don't change emulation like *-*-bsd does - mips-*-bsd*) obj_format=aout gas_target=mips-lit ;; + mips-dec-bsd*) obj_format=aout gas_target=mips-lit ;; + mips-sony-bsd*) obj_format=ecoff gas_target=mips-big ;; + mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; mips-*-ultrix*) obj_format=ecoff gas_target=mips-lit ;; mips-*-ecoff*) obj_format=ecoff case "$endian" in @@ -649,6 +650,12 @@ case ${generic_target} in esac ;; mips-*-ecoff*) obj_format=ecoff gas_target=mips-big ;; + mips-*-gnu*) obj_format=aout + case "$endian" in + big) gas_target=mips-big ;; + *) gas_target=mips-lit ;; + esac + ;; mips-*-irix5*) obj_format=elf gas_target=mips-big ;; mips-*-irix*) obj_format=ecoff gas_target=mips-big ;; mips-*-riscos*) obj_format=ecoff gas_target=mips-big ;; @@ -912,7 +919,7 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error @@ -926,7 +933,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -957,7 +964,7 @@ if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext < EOF @@ -1009,7 +1016,7 @@ else ac_cv_cross=yes else cat > conftest.$ac_ext <&4 else cat > conftest.$ac_ext < int main() { return 0; } @@ -1063,7 +1070,7 @@ if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext <&4 else cat > conftest.$ac_ext <&4 else cat > conftest.$ac_ext < /* Arbitrary system header to define __stub macros. */ /* Override any gcc2 internal prototype to avoid an error. */ @@ -1191,7 +1198,7 @@ if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext < /* Arbitrary system header to define __stub macros. */ /* Override any gcc2 internal prototype to avoid an error. */ @@ -1234,7 +1241,7 @@ if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext < /* Arbitrary system header to define __stub macros. */ /* Override any gcc2 internal prototype to avoid an error. */ @@ -1288,7 +1295,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext < conftest.$ac_ext <&4 else cat > conftest.$ac_ext < /* Arbitrary system header to define __stub macros. */ /* Override any gcc2 internal prototype to avoid an error. */ @@ -1418,7 +1425,7 @@ if eval "test \"`echo '${'gas_cv_assert_ok'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext < #include @@ -1475,7 +1482,7 @@ if eval "test \"`echo '${'gas_cv_decl_needed_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext <&4 else cat > conftest.$ac_ext <&4 else cat > conftest.$ac_ext <