diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-03-04 18:39:06 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-03-04 18:39:06 -0500 |
commit | 522170ca630f2b0b22fad049ab50a11f43c6a447 (patch) | |
tree | c2cf2e6d2ad46cea3f87b98989d86eb41a1212db | |
parent | 2425db7e1783d3e8f599051367bff707467c89ef (diff) | |
download | gcc-522170ca630f2b0b22fad049ab50a11f43c6a447.zip gcc-522170ca630f2b0b22fad049ab50a11f43c6a447.tar.gz gcc-522170ca630f2b0b22fad049ab50a11f43c6a447.tar.bz2 |
(CRT0STUFF_T_CFLAGS): New macro.
(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.
From-SVN: r11425
-rw-r--r-- | gcc/Makefile.in | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 996cb5d..186bccd 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -384,6 +384,9 @@ FIXPROTO_DEFINES = # Extra flags to use when compiling crt{begin,end}.o. CRTSTUFF_T_CFLAGS = +# Extra flags to use when compiling [m]crt0.o. +CRT0STUFF_T_CFLAGS = + # End of variables for you to override. # Definition of `all' is here so that new rules inserted by sed @@ -541,7 +544,7 @@ STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \ insn-attr.h insn-attrtab.c insn-opinit.c \ stamp-flags stamp-config stamp-codes \ stamp-output stamp-recog stamp-emit stamp-extract stamp-peep \ - stamp-attr stamp-attrtab stamp-opinit stamp-proto stamp-crt stamp-crtS \ + stamp-attr stamp-attrtab stamp-opinit stamp-proto stamp-crt stamp-crtS stamp-crt0 \ genemit$(exeext) genoutput$(exeext) genrecog$(exeext) genextract$(exeext) \ genflags$(exeext) gencodes$(exeext) genconfig$(exeext) genpeep$(exeext) \ genattrtab$(exeext) genattr$(exeext) genopinit$(exeext) \ @@ -1053,6 +1056,17 @@ stamp-crtS: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h -g0 -c $(srcdir)/crtstuff.c mv crtstuff$(objext) crtendS$(objext) touch stamp-crtS + +# Compile the start modules crt0.o and mcrt0.o that are linked with every program +crt0.o: stamp-crt0 ; @true +mcrt0.o: stamp-crt0; @true + +stamp-crt0: $(CRT0_S) $(MCRT0_S) $(GCC_PASSES) $(CONFIG_H) + $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \ + -o crt0.o -c $(CRT0_S) + $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \ + -o mcrt0.o -c $(MCRT0_S) + touch stamp-crt0 # Compiling object files from source files. |