aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/ChangeLog7
-rw-r--r--gas/config/obj-coffbfd.h3
-rw-r--r--gas/configure.in6
3 files changed, 16 insertions, 0 deletions
diff --git a/gas/config/ChangeLog b/gas/config/ChangeLog
index 892cefa..9cb2c52 100644
--- a/gas/config/ChangeLog
+++ b/gas/config/ChangeLog
@@ -1,3 +1,10 @@
+Fri Sep 11 10:21:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
+
+ Support for i386 coff
+ * obj-coffbfd.h : added stuff
+ * tc-i386.c (tc_coff_fix2rtype): new function
+ * tc-i386.h : new coff defines
+
Wed Sep 9 11:10:24 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
diff --git a/gas/config/obj-coffbfd.h b/gas/config/obj-coffbfd.h
index b1b9a0b..217fd86 100644
--- a/gas/config/obj-coffbfd.h
+++ b/gas/config/obj-coffbfd.h
@@ -45,6 +45,9 @@
#include "coff/m68k.h"
#define TARGET_FORMAT "coff-m68k"
+#elif defined(TC_I386)
+#include "coff/i386.h"
+#define TARGET_FORMAT "coff-i386"
#elif defined(TC_A29K)
#include "coff/a29k.h"
#define TARGET_FORMAT "coff-a29k-big"
diff --git a/gas/configure.in b/gas/configure.in
index 2dfd700..7d6cc4e 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -142,6 +142,12 @@ coff* | sysv*)
need_bfd="./../bfd/libbfd.a"
gas_target=m68kcoff
;;
+ i386)
+ obj_format=coffbfd
+ need_bfd="./../bfd/libbfd.a"
+ gas_target=i386coff
+ ;;
+
esac
case ${target_vendor} in