Mercurial > hg > CbC > CbC_gcc
diff gcc/config/sh/t-superh @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children | 77e2b8dfacca |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/config/sh/t-superh Fri Jul 17 14:47:48 2009 +0900 @@ -0,0 +1,15 @@ +EXTRA_MULTILIB_PARTS= crt1.o crti.o crtn.o \ + crtbegin.o crtend.o crtbeginS.o crtendS.o \ + crt1-mmu.o gcrt1-mmu.o gcrt1.o $(IC_EXTRA_PARTS) $(OPT_EXTRA_PARTS) + +# Compile crt1-mmu.o as crt1.o with -DMMU_SUPPORT +$(T)crt1-mmu.o: $(srcdir)/config/sh/crt1.asm $(GCC_PASSES) + $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1-mmu.o -DMMU_SUPPORT -x assembler-with-cpp $(srcdir)/config/sh/crt1.asm + +# Compile gcrt1-mmu.o as crt1-mmu.o with -DPROFILE +$(T)gcrt1-mmu.o: $(srcdir)/config/sh/crt1.asm $(GCC_PASSES) + $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)gcrt1-mmu.o -DPROFILE -DMMU_SUPPORT -x assembler-with-cpp $(srcdir)/config/sh/crt1.asm + +# For sh4-400: Compile gcrt1.o as crt1.o with -DPROFILE +$(T)gcrt1.o: $(srcdir)/config/sh/crt1.asm $(GCC_PASSES) + $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)gcrt1.o -DPROFILE -x assembler-with-cpp $(srcdir)/config/sh/crt1.asm