diff options
author | Alan Modra <amodra@gmail.com> | 2000-01-26 22:48:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-01-26 22:48:31 +0000 |
commit | 4c63da97a708e211a7141e29082ab589cbdbcb12 (patch) | |
tree | 358dbdc4c6eaed6b8a498fa02100a861d33849fd /gas/Makefile.am | |
parent | f743149ecb74d161c7be3171d36bafc805473ebc (diff) | |
download | gdb-4c63da97a708e211a7141e29082ab589cbdbcb12.zip gdb-4c63da97a708e211a7141e29082ab589cbdbcb12.tar.gz gdb-4c63da97a708e211a7141e29082ab589cbdbcb12.tar.bz2 |
This set of patches add support for aout emulation on the x86
assembler. ie. You will be able to do "as --em=i386aout" on an x86
linux-elf assembler to generate aout format object files, rather than
using a separate assembler. The aout emulation is enabled by giving
"--enable-targets=i386-linuxaout" to configure.
Oh yeah, there's a couple of fixes too. Error messages shouldn't be
passed to printf in the format arg just in case someone puts a `%' in
the message.
Diffstat (limited to 'gas/Makefile.am')
-rw-r--r-- | gas/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gas/Makefile.am b/gas/Makefile.am index 7105524..f8d204d 100644 --- a/gas/Makefile.am +++ b/gas/Makefile.am @@ -321,6 +321,7 @@ TARG_ENV_HFILES = \ # Multi files in config MULTI_CFILES = \ + config/e-i386aout.c \ config/e-i386coff.c \ config/e-i386elf.c \ config/e-mipsecoff.c \ @@ -508,6 +509,8 @@ e-mipself.o : $(srcdir)/config/e-mipself.c $(COMPILE) -c $(srcdir)/config/e-mipself.c e-mipsecoff.o : $(srcdir)/config/e-mipsecoff.c $(COMPILE) -c $(srcdir)/config/e-mipsecoff.c +e-i386aout.o: $(srcdir)/config/e-i386aout.c + $(COMPILE) -c $(srcdir)/config/e-i386aout.c e-i386coff.o: $(srcdir)/config/e-i386coff.c $(COMPILE) -c $(srcdir)/config/e-i386coff.c e-i386elf.o: $(srcdir)/config/e-i386elf.c @@ -756,7 +759,7 @@ DEPTC: $(TARGET_CPU_CFILES) echo 'DEPTC_hppa_som = $$(srcdir)/config/tc-hppa.h subsegs.h \' >> DEPTCA echo ' $$(INCDIR)/obstack.h $$(BFDDIR)/libhppa.h \' >> DEPTCA echo ' $$(INCDIR)/opcode/hppa.h $$(BFDDIR)/som.h' >> DEPTCA - # We don't try to handle all multi cases. +# We don't try to handle all multi cases. for c in $(CPU_TYPES); do \ $(CPU_MULTI_VALID) \ if [ x$${valid} = xyes ]; then \ @@ -803,7 +806,7 @@ DEPOBJ: $(OBJ_FORMAT_CFILES) echo ' $$(INCDIR)/obstack.h $$(BFDDIR)/libhppa.h \' >> DEPOBJA echo ' $$(BFDDIR)/som.h $$(INCDIR)/aout/stab_gnu.h \' >> DEPOBJA echo ' $$(INCDIR)/aout/stab.def' >> DEPOBJA - # We don't try to handle all multi cases. +# We don't try to handle all multi cases. for c in $(CPU_TYPES); do \ $(CPU_MULTI_VALID) \ if [ x$${valid} = xyes ]; then \ @@ -920,6 +923,8 @@ symbols.o: symbols.c $(INCDIR)/obstack.h subsegs.h \ write.o: write.c subsegs.h $(INCDIR)/obstack.h output-file.h gasp.o: gasp.c sb.h macro.h itbl-ops.o: itbl-ops.c itbl-ops.h itbl-parse.h +e-i386aout.o: $(srcdir)/config/e-i386aout.c emul.h \ + emul-target.h e-i386coff.o: $(srcdir)/config/e-i386coff.c emul.h \ emul-target.h e-i386elf.o: $(srcdir)/config/e-i386elf.c emul.h emul-target.h |