On Tue, Jun 24, 2008 at 10:42:57AM +1000, Ben Elliston wrote: > On Mon, 2008-06-23 at 15:52 -0700, Andrew Pinski wrote: > > This introduced a few warnings while building libgcc for > > powerpc64-linux-gnu: > > I see lots and lots of these myself: > > Please fix! :-)
I believe this patch fixes things; there are Makefile rules automagically generated for files in LIB2ADD{,_ST} and these rules were conflicting with the manually specified ones in t-ppccomm. With the patch, no warnings are emitted when make'ing in the libgcc/ directory and the resulting object/library files are identical to what they were previously. OK to commit as is? Or should I do a testing run as well? -Nathan libgcc/ 2008-06-24 Nathan Froyd <[EMAIL PROTECTED]> * config/rs6000/t-ppccomm: Remove rules that conflict with auto-generated rules. Index: config/rs6000/t-ppccomm =================================================================== --- config/rs6000/t-ppccomm (revision 136762) +++ config/rs6000/t-ppccomm (working copy) @@ -101,63 +101,3 @@ ncrti$(objext): ncrti.S ncrtn$(objext): ncrtn.S $(crt_compile) -c 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