From 4e8108491bbcb30349787bf3cdc861d70ced18d4 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 30 Jan 1994 20:30:53 +0000 Subject: [PATCH] * gen-aout.c (main): Set DEFAULT_ARCH based on preprocessor macros (only testing for m68k and vax at the moment); do verify that the preprocessor didn't trash the arch name inside the string version. Don't print out "pagesize =" line that prevents output from compiling. Derive BYTES_IN_WORD and ARCH values from sizeof results. * Makefile.in (aout-params.h): Pass gen-aout a dummy target name. --- bfd/ChangeLog | 10 ++++++++++ bfd/Makefile.in | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6f2e368fae5..f27e2067357 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Sun Jan 30 15:14:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * gen-aout.c (main): Set DEFAULT_ARCH based on preprocessor macros + (only testing for m68k and vax at the moment); do verify that the + preprocessor didn't trash the arch name inside the string version. + Don't print out "pagesize =" line that prevents output from + compiling. Derive BYTES_IN_WORD and ARCH values from sizeof + results. + * Makefile.in (aout-params.h): Pass gen-aout a dummy target name. + Sun Jan 30 13:25:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * aoutx.h (aout_link_write_symbols): Write out correct value for diff --git a/bfd/Makefile.in b/bfd/Makefile.in index d809626ae76..d8b984823d6 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -456,7 +456,7 @@ host-aout.o: Makefile # The following program can be used to generate a simple config file # which can be folded into an h-XXX file for a new host, with some editing. aout-params.h: gen-aout - ./gen-aout > aout-params.h + ./gen-aout host > aout-params.h gen-aout: $(srcdir)/gen-aout.c Makefile $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c @@ -532,7 +532,7 @@ ecoff.o : ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \ $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \ $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \ $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h -ecofflink.o : ecofflink.c $(INCDIR)/coff/internal.h \ +ecofflink.o : ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h coff-m68k.o : coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \ libcoff.h coffcode.h coffswap.h -- 2.30.2