Based on patches from Robert Lipe <robertl@dgii.com>:
authorIan Lance Taylor <ian@airs.com>
Wed, 26 Feb 1997 04:33:08 +0000 (04:33 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 26 Feb 1997 04:33:08 +0000 (04:33 +0000)
commit034988c662d7ef65467b4c93421888d53b1a0e1a
treee320cfe8e2b3168055b26eafac181fa6304c5189
parent84fdbc864f1350d4d924113a6d6d4622172e35ee
Based on patches from Robert Lipe <robertl@dgii.com>:
* configure.in: Add i386coff and i386elf to emulation list.
* configure: Rebuild.
* as.c (i386coff, i386elf): Declare.
* obj.h (coff_format_ops): Declare.
* config/obj-coff.c (OBJ_HEADER): Define.
(coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
(coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
(obj_pseudo_table): Add "version".
(coff_pop_insert): New static function.
(coff_sec_sym_ok_for_reloc): New static function.
(no_func): New static function.
(coff_format_ops): New variable.
* config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
(obj_symbol_new_hook): Define.
(coff_obj_read_begin_hook): Declare.
(obj_read_begin_hook): Define.
* config/tc-i386.h (i386_target_format): Declare.
* config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
OUTPUT_FLAVOR when appropriate.
(i386_target_format): New function.
* Makefile.in (obj-coff.o): New target.
(e-i386coff.o, e-i386elf.o): New targets.
gas/ChangeLog
gas/Makefile.in
gas/config/.Sanitize
gas/config/e-i386coff.c [new file with mode: 0644]
gas/config/e-i386elf.c [new file with mode: 0644]