Joel Sherrill <joel.sherr...@oarcorp.com> writes: > Does this patch apply OK for others? > > Ranier.. you can just send me the impacted files if you like. I have > no local changes to libgcc. > > $ cat /tmp/libgcc-t-savresfgpr.patch | patch -p1 > patching file libgcc/config.host > Hunk #1 succeeded at 843 (offset -9 lines). > patching file libgcc/config/rs6000/t-ppccomm > patching file libgcc/config/rs6000/t-ppccomm-ldbl > patching file libgcc/config/rs6000/t-ppccomm > Hunk #1 FAILED at 1. > Hunk #2 FAILED at 21. > 2 out of 2 hunks FAILED -- saving rejects to file > libgcc/config/rs6000/t-ppccomm.rej
Released versions of patch cannot deal with git-style patches (a copy in this case), it seems. git patch (or a snapshot from alpha.gnu.org) should be ok. I'm including libgcc/config/rs6000/t-savresfgpr for your convenience. Rainer
# These can't end up in shared libgcc LIB2ADD_ST += \ $(srcdir)/config/rs6000/crtsavfpr.S \ $(srcdir)/config/rs6000/crtresfpr.S \ $(srcdir)/config/rs6000/crtsavgpr.S \ $(srcdir)/config/rs6000/crtresgpr.S \ $(srcdir)/config/rs6000/crtresxfpr.S \ $(srcdir)/config/rs6000/crtresxgpr.S \ $(srcdir)/config/rs6000/e500crtres32gpr.S \ $(srcdir)/config/rs6000/e500crtres64gpr.S \ $(srcdir)/config/rs6000/e500crtres64gprctr.S \ $(srcdir)/config/rs6000/e500crtrest32gpr.S \ $(srcdir)/config/rs6000/e500crtrest64gpr.S \ $(srcdir)/config/rs6000/e500crtresx32gpr.S \ $(srcdir)/config/rs6000/e500crtresx64gpr.S \ $(srcdir)/config/rs6000/e500crtsav32gpr.S \ $(srcdir)/config/rs6000/e500crtsav64gpr.S \ $(srcdir)/config/rs6000/e500crtsav64gprctr.S \ $(srcdir)/config/rs6000/e500crtsavg32gpr.S \ $(srcdir)/config/rs6000/e500crtsavg64gpr.S \ $(srcdir)/config/rs6000/e500crtsavg64gprctr.S
-- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University