diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-08-20 23:32:52 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-08-20 23:32:52 +0400 |
commit | 49703eb3f53c12fb0ac3d12ca0beaddfe581cfd4 (patch) | |
tree | 067bcfc2b0cb8868e00ef0977c53f0ddf978df94 /libgloss/mips/Makefile.in | |
parent | 2bf794af9a7fff8aeeae6e53642b64e40918b76f (diff) |
2003-08-20 Chris Demetriou <cgd@broadcom.com>
* mips/crt0_cfe.S: New file.
* mips/cfe_mem.c: New file.
* mips/cfe_prestart.S: Remove.
* mips/cfe.ld: Adjust to use crt0_cfe.o as the startup file, and
and use _start as the entry point. Align BSS to 32-byte boundary.
* mips/cfe.c: Reimplement to fit on top of a crt0_cfe.o file.
* mips/cfe_api.h (__libcfe_stack_size, __libcfe_mem_limit)
(__libcfe_meminit, __libcfe_stack_top): New prototypes.
* mips/Makefile.in (CFEOBJS): Replace cfe_prestart.o with cfe_mem.o.
(cfe.o, cfe_api.o, cfe_mem.o, crt0_cfe.o): New targets.
* mips/configure.in: Build and install crt0_cfe.o when CFE support
is built.
* mips/configure: Regenerate.
Diffstat (limited to 'libgloss/mips/Makefile.in')
-rw-r--r-- | libgloss/mips/Makefile.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libgloss/mips/Makefile.in b/libgloss/mips/Makefile.in index 78d6f4752..ada567eb3 100644 --- a/libgloss/mips/Makefile.in +++ b/libgloss/mips/Makefile.in @@ -73,8 +73,7 @@ PMONOBJS = pmon.o @part_specific_obj@ ${GENOBJS} LSIOBJS = lsipmon.o @part_specific_obj@ ${GENOBJS} DVEOBJS = dvemon.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2} JMR3904OBJS = jmr3904-io.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2} -CFEOBJS = cfe.o cfe_api.o cfe_prestart.o \ - @part_specific_obj@ ${GENOBJS} ${GENOBJS2} +CFEOBJS = cfe.o cfe_api.o cfe_mem.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2} CYGMONOBJS = open.o close.o cygmon.o @part_specific_obj@ ${GENOBJS} # Nullmon cannot support read and write, but the test cases pull them in via libs @@ -136,7 +135,6 @@ libcygmon.a: $(CYGMONOBJS) ${AR} ${ARFLAGS} $@ $(CYGMONOBJS) ${RANLIB} $@ - libcfe.a: $(CFEOBJS) ${AR} ${ARFLAGS} $@ $(CFEOBJS) ${RANLIB} $@ @@ -219,6 +217,7 @@ test.o: ${srcdir}/test.c crt0.o: ${srcdir}/crt0.S pcrt0.o: ${srcdir}/crt0.S $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) -DGCRT0 ${srcdir}/crt0.S -o ${PCRT0} +crt0_cfe.o: ${srcdir}/crt0_cfe.S crt0_cygmon.o: ${srcdir}/crt0_cygmon.S idtmon.o: ${srcdir}/idtmon.S pmon.o: ${srcdir}/pmon.S @@ -230,6 +229,12 @@ vr5xxx.o: ${srcdir}/vr5xxx.S lsipmon.o: $(srcdir)/lsipmon.S $(srcdir)/pmon.S jmr3904-io.o: ${srcdir}/jmr3904-io.c $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/jmr3904-io.c -o $@ +cfe.o: ${srcdir}/cfe.c ${srcdir}/cfe_api.h + $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/cfe.c -o $@ +cfe_api.o: ${srcdir}/cfe_api.c ${srcdir}/cfe_api.h ${srcdir}/cfe_api_int.h + $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/cfe_api.c -o $@ +cfe_mem.o: ${srcdir}/cfe_mem.c ${srcdir}/cfe_api.h + $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/cfe_mem.c -o $@ # cma101 can not be compiled mips16, if a mips16 version is needed then # it will have to be built, then this rule can be scrapped, allowing |