diff options
author | K. Richard Pixley <rich@cygnus> | 1991-11-05 09:01:45 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-11-05 09:01:45 +0000 |
commit | 3c9d74a8eb6d1f52361b9d04679153a9fcf88c71 (patch) | |
tree | 09512d52a982b9ecb0601585e86aeee3a2584aea /gas | |
parent | 9d28af023bc8b633b32268eb13866bcf675904a0 (diff) | |
download | gdb-3c9d74a8eb6d1f52361b9d04679153a9fcf88c71.zip gdb-3c9d74a8eb6d1f52361b9d04679153a9fcf88c71.tar.gz gdb-3c9d74a8eb6d1f52361b9d04679153a9fcf88c71.tar.bz2 |
make coff configure properly
Diffstat (limited to 'gas')
-rw-r--r-- | gas/configure.in | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/gas/configure.in b/gas/configure.in index 118b1f0..854352e 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -45,45 +45,44 @@ cpu_type=${target_cpu} # assign object format case ${target_os} in -sysv* | -coff* ) - obj_format=coff - ;; +bout*) obj_format=bout ;; +bsd* | sunos*) obj_format=aout ;; ebmon) obj_format=coff need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a" target_cpu=ebmon29k ;; + +generic) obj_format=generic ;; + hds) obj_format=ieee need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a" ;; -bout*) - obj_format=bout - ;; -bsd* | sunos* | *) - obj_format=aout - ;; -generic) - obj_format=generic +coff* | sysv*) obj_format=coff ;; + +*) + case ${target_vendor} in + aout) obj_format=aout ;; + bout) obj_format=bout ;; + coff) obj_format=coff ;; + *) obj_format=aout ;; + esac ;; + esac # assign floating point type case ${target_cpu} in -vax) - atof=vax - ;; -*) - atof=ieee - ;; +vax) atof=vax ;; +*) atof=ieee ;; esac # and target makefile frag -target_makefile_frag=config/tmake-${target_cpu} - +target_makefile_frag=config/mt-${target_cpu} files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \ config/tc-${cpu_type}.h config/te-${emulation}.h \ |