aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-02-21 11:04:51 +0000
committerK. Richard Pixley <rich@cygnus>1992-02-21 11:04:51 +0000
commit6d5460ab8974c508f4b106697922cfb41522e369 (patch)
tree2d254ae543051dc0d49994a30dca3fc4ca289c04 /gas/configure.in
parente39469d91ab8e0b4ae36a871a1e4d28229498c9d (diff)
downloadgdb-6d5460ab8974c508f4b106697922cfb41522e369.zip
gdb-6d5460ab8974c508f4b106697922cfb41522e369.tar.gz
gdb-6d5460ab8974c508f4b106697922cfb41522e369.tar.bz2
changes from Minh Tran-Le <TRANLE@INTELLICORP.COM> to support i386
coff as it appears to be used on aix386.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/gas/configure.in b/gas/configure.in
index a7beaaf..914feaa 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -1,4 +1,4 @@
-# This file is configure.inj
+# This file is configure.in
#
# Copyright (C) 1987-1992 Free Software Foundation, Inc.
#
@@ -40,6 +40,11 @@ mips)
ultrix) gas_host=decstation ;;
esac
;;
+i386)
+ case "${host_os}" in
+ aix*) gas_host=i386aix ;;
+ esac
+ ;;
*)
case "${host_os}" in
ansi | ultrix | hpux | sysv*) gas_host=${host_os} ;;
@@ -67,6 +72,14 @@ cpu_type=${target_cpu}
# assign object format
case ${target_os} in
+aix*)
+ case "${target_cpu}" in
+ i386) obj_format=coff
+ target_cpu=i386aix
+ ;;
+ esac
+ ;;
+
bout*) obj_format=bout ;;
nindy*) obj_format=bout ;;
bsd* | sunos*) obj_format=aout ;;