From: Steve Chamberlain Date: Fri, 11 Sep 1992 17:23:31 +0000 (+0000) Subject: Support for 386 coff X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28c8c50b43ee079c3e874ee987a05b56ced857e6;p=binutils-gdb.git Support for 386 coff --- diff --git a/gas/config/ChangeLog b/gas/config/ChangeLog index 892cefafb30..9cb2c529369 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 b1b9a0b037b..217fd86aca0 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 2dfd7008ec0..7d6cc4e403a 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