aboutsummaryrefslogtreecommitdiff
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 8ff14a9..fa844a4 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 81661b3..855f8f5 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