From 18724e30aca828678b4f0a788e26b90dc8c44c36 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Wed, 30 Apr 2008 16:10:21 +0000 Subject: t-ppccomm: Add build rules for new files. libgcc/ * config/rs6000/t-ppccomm: Add build rules for new files. (LIB2ADD_ST): New variable. gcc/ * config/rs6000/crtresgpr.asm, config/rs6000/crtresxgpr.asm, config/rs6000/crtsavgpr.asm, config/rs6000/crtresfpr.asm, config/rs6000/crtresxfpr.asm, config/rs6000/crtsavfpr.asm: Break out from... * config/rs6000/crtsavres.asm: ...here. Remove unneeded file. * config/rs6000/e500crtres32gpr.asm, config/rs6000/e500crtres64gpr.asm config/rs6000/e500crtres64gprctr.asm, config/rs6000/e500crtrest32gpr.asm config/rs6000/e500crtrest64gpr.asm, config/rs6000/e500crtresx32gpr.asm config/rs6000/e500crtresx64gpr.asm, config/rs6000/e500crtsav32gpr.asm config/rs6000/e500crtsav64gpr.asm, config/rs6000/e500crtsav64gprctr.asm config/rs6000/e500crtsavg32gpr.asm, config/rs6000/e500crtsavg64gpr.asm config/rs6000/e500crtsavg64gprctr.asm: New files. * config/rs6000/t-ppccomm: Add build rules for new files. (LIB2FUNCS_STATIC_EXTRA): Add new files. * config/rs6000/t-netbsd: Add build rules for new files. (LIB2FUNCS_STATIC_EXTRA): New variable. * config/rs6000/sysv4.h (ENDFILE_SPEC): Don't include crtsavres.o (CRTSAVRES_DEFAULT_SPEC): Likewise. * config/rs6000/netbsd.h (ENDFILE_SPEC): Likewise. From-SVN: r134828 --- libgcc/ChangeLog | 5 ++ libgcc/config/rs6000/t-ppccomm | 135 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 136 insertions(+), 4 deletions(-) (limited to 'libgcc') diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index ad0bf65..2dec005 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2008-04-30 Nathan Froyd + + * config/rs6000/t-ppccomm: Add build rules for new files. + (LIB2ADD_ST): New variable. + 2008-04-07 Andy Hutchinson PR target/34210 diff --git a/libgcc/config/rs6000/t-ppccomm b/libgcc/config/rs6000/t-ppccomm index d883682..0558d15 100644 --- a/libgcc/config/rs6000/t-ppccomm +++ b/libgcc/config/rs6000/t-ppccomm @@ -1,5 +1,21 @@ -EXTRA_PARTS += ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext) \ - crtsavres$(objext) +LIB2ADD_ST += crtsavfpr.S crtresfpr.S \ + crtsavgpr.S crtresgpr.S \ + crtresxfpr.S crtresxgpr.S \ + e500crtres32gpr.S \ + e500crtres64gpr.S \ + e500crtres64gprctr.S \ + e500crtrest32gpr.S \ + e500crtrest64gpr.S \ + e500crtresx32gpr.S \ + e500crtresx64gpr.S \ + e500crtsav32gpr.S \ + e500crtsav64gpr.S \ + e500crtsav64gprctr.S \ + e500crtsavg32gpr.S \ + e500crtsavg64gpr.S \ + e500crtsavg64gprctr.S + +EXTRA_PARTS += ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext) # We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and # end labels to all of the special sections used when we link using gcc. @@ -17,8 +33,62 @@ ncrti.S: $(gcc_srcdir)/config/rs6000/sol-ci.asm ncrtn.S: $(gcc_srcdir)/config/rs6000/sol-cn.asm cat $(gcc_srcdir)/config/rs6000/sol-cn.asm >ncrtn.S -crtsavres.S: $(gcc_srcdir)/config/rs6000/crtsavres.asm - cat $(gcc_srcdir)/config/rs6000/crtsavres.asm >crtsavres.S +crtsavfpr.S: $(gcc_srcdir)/config/rs6000/crtsavfpr.asm + cat $(gcc_srcdir)/config/rs6000/crtsavfpr.asm >crtsavfpr.S + +crtresfpr.S: $(gcc_srcdir)/config/rs6000/crtresfpr.asm + cat $(gcc_srcdir)/config/rs6000/crtresfpr.asm >crtresfpr.S + +crtsavgpr.S: $(gcc_srcdir)/config/rs6000/crtsavgpr.asm + cat $(gcc_srcdir)/config/rs6000/crtsavgpr.asm >crtsavgpr.S + +crtresgpr.S: $(gcc_srcdir)/config/rs6000/crtresgpr.asm + cat $(gcc_srcdir)/config/rs6000/crtresgpr.asm >crtresgpr.S + +crtresxfpr.S: $(gcc_srcdir)/config/rs6000/crtresxfpr.asm + cat $(gcc_srcdir)/config/rs6000/crtresxfpr.asm >crtresxfpr.S + +crtresxgpr.S: $(gcc_srcdir)/config/rs6000/crtresxgpr.asm + cat $(gcc_srcdir)/config/rs6000/crtresxgpr.asm >crtresxgpr.S + +e500crtres32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtres32gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtres32gpr.asm >e500crtres32gpr.S + +e500crtres64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtres64gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtres64gpr.asm >e500crtres64gpr.S + +e500crtres64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtres64gprctr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtres64gprctr.asm >e500crtres64gprctr.S + +e500crtrest32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtrest32gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtrest32gpr.asm >e500crtrest32gpr.S + +e500crtrest64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtrest64gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtrest64gpr.asm >e500crtrest64gpr.S + +e500crtresx32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtresx32gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtresx32gpr.asm >e500crtresx32gpr.S + +e500crtresx64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtresx64gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtresx64gpr.asm >e500crtresx64gpr.S + +e500crtsav32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsav32gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtsav32gpr.asm >e500crtsav32gpr.S + +e500crtsav64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsav64gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtsav64gpr.asm >e500crtsav64gpr.S + +e500crtsav64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtsav64gprctr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtsav64gprctr.asm >e500crtsav64gprctr.S + +e500crtsavg32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg32gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtsavg32gpr.asm >e500crtsavg32gpr.S + +e500crtsavg64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg64gpr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtsavg64gpr.asm >e500crtsavg64gpr.S + +e500crtsavg64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg64gprctr.asm + cat $(gcc_srcdir)/config/rs6000/e500crtsavg64gprctr.asm >e500crtsavg64gprctr.S ecrti$(objext): ecrti.S $(crt_compile) -c ecrti.S @@ -34,3 +104,60 @@ ncrtn$(objext): ncrtn.S crtsavres$(objext): crtsavres.S $(crt_compile) -c crtsavres.S + +crtsavfpr$(objext): crtsavfpr.S + $(crt_compile) -c crtsavfpr.S + +crtresfpr$(objext): crtresfpr.S + $(crt_compile) -c crtresfpr.S + +crtsavgpr$(objext): crtsavgpr.S + $(crt_compile) -c crtsavgpr.S + +crtresgpr$(objext): crtresgpr.S + $(crt_compile) -c crtresgpr.S + +crtresxfpr$(objext): crtresxfpr.S + $(crt_compile) -c crtresxfpr.S + +crtresxgpr$(objext): crtresxgpr.S + $(crt_compile) -c crtresxgpr.S + +e500crtres32gpr$(objext): e500crtres32gpr.S + $(crt_compile) -c e500crtres32gpr.S + +e500crtres64gpr$(objext): e500crtres64gpr.S + $(crt_compile) -c e500crtres64gpr.S + +e500crtres64gprctr$(objext): e500crtres64gprctr.S + $(crt_compile) -c e500crtres64gprctr.S + +e500crtrest32gpr$(objext): e500crtrest32gpr.S + $(crt_compile) -c e500crtrest32gpr.S + +e500crtrest64gpr$(objext): e500crtrest64gpr.S + $(crt_compile) -c e500crtrest64gpr.S + +e500crtresx32gpr$(objext): e500crtresx32gpr.S + $(crt_compile) -c e500crtresx32gpr.S + +e500crtresx64gpr$(objext): e500crtresx64gpr.S + $(crt_compile) -c e500crtresx64gpr.S + +e500crtsav32gpr$(objext): e500crtsav32gpr.S + $(crt_compile) -c e500crtsav32gpr.S + +e500crtsav64gpr$(objext): e500crtsav64gpr.S + $(crt_compile) -c e500crtsav64gpr.S + +e500crtsav64gprctr$(objext): e500crtsav64gprctr.S + $(crt_compile) -c e500crtsav64gprctr.S + +e500crtsavg32gpr$(objext): e500crtsavg32gpr.S + $(crt_compile) -c e500crtsavg32gpr.S + +e500crtsavg64gpr$(objext): e500crtsavg64gpr.S + $(crt_compile) -c e500crtsavg64gpr.S + +e500crtsavg64gprctr$(objext): e500crtsavg64gprctr.S + $(crt_compile) -c e500crtsavg64gprctr.S -- cgit v1.1