From d0bc53bdb4b648b26a2e185736c7ee1b5a7470e6 Mon Sep 17 00:00:00 2001
From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Thu, 3 Nov 2011 15:42:27 +0000
Subject: [PATCH] t-ppccomm (ecrti$(objext)): Use $<.

	* config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
	(ecrtn$(objext)): Likewise.
	(ncrti$(objext)): Likewise.
	(ncrtn$(objext)): Likewise.

From-SVN: r180830
---
 libgcc/ChangeLog               | 7 +++++++
 libgcc/config/rs6000/t-ppccomm | 8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 158cc18dd58b..720d485bdb6c 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,10 @@
+2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	* config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
+	(ecrtn$(objext)): Likewise.
+	(ncrti$(objext)): Likewise.
+	(ncrtn$(objext)): Likewise.
+
 2011-11-03  Andreas Schwab  <schwab@redhat.com>
 
 	* config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
diff --git a/libgcc/config/rs6000/t-ppccomm b/libgcc/config/rs6000/t-ppccomm
index adef74076980..e92336882686 100644
--- a/libgcc/config/rs6000/t-ppccomm
+++ b/libgcc/config/rs6000/t-ppccomm
@@ -29,13 +29,13 @@ LIB2ADD_ST += \
 
 # Assemble startup files.
 ecrti$(objext): $(srcdir)/config/rs6000/eabi-ci.S
-	$(crt_compile) -c ecrti.S
+	$(crt_compile) -c $<
 
 ecrtn$(objext): $(srcdir)/config/rs6000/eabi-cn.S
-	$(crt_compile) -c ecrtn.S
+	$(crt_compile) -c $<
 
 ncrti$(objext): $(srcdir)/config/rs6000/sol-ci.S
-	$(crt_compile) -c ncrti.S
+	$(crt_compile) -c $<
 
 ncrtn$(objext): $(srcdir)/config/rs6000/sol-cn.S
-	$(crt_compile) -c ncrtn.S
+	$(crt_compile) -c $<
-- 
GitLab