about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/Makefile2
2 files changed, 6 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 8ff14a9f23..fa844a44ee 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* Makefile (extra-objs) [crti.S in sysdirs]: Add pt-crti.o.
+
 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
 
 	Support crti.S and crtn.S provided directly by architectures.
diff --git a/nptl/Makefile b/nptl/Makefile
index 81661b3133..855f8f5ef2 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -350,6 +350,8 @@ ifeq (,$(wildcard $(sysdirs:%=%/crti.S)))
 omit-deps += crti crtn
 
 CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
+else
+extra-objs += pt-crti.o
 endif
 endif