* 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.
This commit is contained in:
parent
2edc8357de
commit
4e8108491b
2 changed files with 12 additions and 2 deletions
|
@ -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)
|
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
|
* aoutx.h (aout_link_write_symbols): Write out correct value for
|
||||||
|
|
|
@ -456,7 +456,7 @@ host-aout.o: Makefile
|
||||||
# The following program can be used to generate a simple config file
|
# 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.
|
# which can be folded into an h-XXX file for a new host, with some editing.
|
||||||
aout-params.h: gen-aout
|
aout-params.h: gen-aout
|
||||||
./gen-aout > aout-params.h
|
./gen-aout host > aout-params.h
|
||||||
gen-aout: $(srcdir)/gen-aout.c Makefile
|
gen-aout: $(srcdir)/gen-aout.c Makefile
|
||||||
$(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
|
$(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)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
|
||||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
|
$(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
|
||||||
$(INCDIR)/coff/ecoff.h libcoff.h libecoff.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
|
$(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 \
|
coff-m68k.o : coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
|
||||||
libcoff.h coffcode.h coffswap.h
|
libcoff.h coffcode.h coffswap.h
|
||||||
|
|
Loading…
Reference in a new issue