diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-26 04:33:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-26 04:33:08 +0000 |
commit | 034988c662d7ef65467b4c93421888d53b1a0e1a (patch) | |
tree | e320cfe8e2b3168055b26eafac181fa6304c5189 /gas/Makefile.in | |
parent | 84fdbc864f1350d4d924113a6d6d4622172e35ee (diff) | |
download | gdb-034988c662d7ef65467b4c93421888d53b1a0e1a.zip gdb-034988c662d7ef65467b4c93421888d53b1a0e1a.tar.gz gdb-034988c662d7ef65467b4c93421888d53b1a0e1a.tar.bz2 |
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.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r-- | gas/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in index fd91454..ec592c2 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -270,7 +270,7 @@ as.new: $(OBJS) $(LIBDEPS) $(OBJS): config.h as.h targ-env.h obj-format.h targ-cpu.h flonum.h expr.h \ struc-symbol.h write.h frags.h hash.h read.h symbols.h tc.h obj.h \ - listing.h bignum.h $(IT_HDRS) $(srcdir)/../include/libiberty.h + listing.h bignum.h $(srcdir)/../include/libiberty.h gasp.new: $(GASPOBJS) ../libiberty/libiberty.a $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o gasp.new $(GASPOBJS) ../libiberty/libiberty.a $(LOADLIBES) @@ -357,7 +357,7 @@ TARG_CPU_DEP_m68k = $(srcdir)/../include/opcode/m68k.h \ $(srcdir)/config/m68k-parse.h subsegs.h TARG_CPU_DEP_m88k = $(srcdir)/config/m88k-opcode.h subsegs.h TARG_CPU_DEP_mips = $(srcdir)/../include/opcode/mips.h subsegs.h \ - $(srcdir)/config/itbl-mips.h + $(srcdir)/config/itbl-mips.h $(srcdir)/itbl-ops.h TARG_CPU_DEP_ns32k = TARG_CPU_DEP_ppc = subsegs.h TARG_CPU_DEP_sh = $(srcdir)/../opcodes/sh-opc.h subsegs.h @@ -406,11 +406,17 @@ obj-elf.o : $(srcdir)/config/obj-elf.c $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/obj-elf.c obj-ecoff.o : $(srcdir)/config/obj-ecoff.c $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/obj-ecoff.c +obj-coff.o: $(srcdir)/config/obj-coff.c + $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/obj-coff.c e-mipself.o : $(srcdir)/config/e-mipself.c $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/e-mipself.c e-mipsecoff.o : $(srcdir)/config/e-mipsecoff.c $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/e-mipsecoff.c +e-i386coff.o: $(srcdir)/config/e-i386coff.c + $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/e-i386coff.c +e-i386elf.o: $(srcdir)/config/e-i386elf.c + $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/e-i386elf.c # The m68k operand parser. @@ -431,7 +437,7 @@ itbl-lex.c: $(srcdir)/itbl-lex.l $(LEX) $(LEXFLAGS) $(srcdir)/itbl-lex.l mv -f lex.yy.c itbl-lex.c -itbl-lex.o: itbl-lex.c +itbl-lex.o: itbl-lex.c itbl-parse.h $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) itbl-lex.c itbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y @@ -442,8 +448,7 @@ itbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y itbl-parse.o: itbl-parse.c itbl-parse.h $(srcdir)/itbl-ops.h $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) itbl-parse.c -itbl-ops.o: $(srcdir)/itbl-ops.c \ - $(srcdir)/itbl-ops.h itbl-parse.h +itbl-ops.o: $(srcdir)/itbl-ops.c $(srcdir)/itbl-ops.h itbl-parse.h $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/itbl-ops.c # stand-alone itbl assembler & disassembler |