aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-09-11 17:23:31 +0000
committerSteve Chamberlain <sac@cygnus>1992-09-11 17:23:31 +0000
commit28c8c50b43ee079c3e874ee987a05b56ced857e6 (patch)
tree500f67774d2a7bccccc6f2fcc424a3223891b94d
parent57a9bb5fb4fb868cba531d18c0966022b6380019 (diff)
downloadgdb-28c8c50b43ee079c3e874ee987a05b56ced857e6.zip
gdb-28c8c50b43ee079c3e874ee987a05b56ced857e6.tar.gz
gdb-28c8c50b43ee079c3e874ee987a05b56ced857e6.tar.bz2
Support for 386 coff
-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