summary refs log tree commit diff
path: root/nptl_db
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-31 16:16:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-31 16:16:33 +0000
commitfab7ce3f5b4060bf62659e8b58529de4156b5a2f (patch)
tree478613d49200afe992092d00c61f6fb82cec07b8 /nptl_db
parenteca5920cd90093d8921f27bfbf7bcf54807165bb (diff)
downloadglibc-fab7ce3f5b4060bf62659e8b58529de4156b5a2f.tar.gz
glibc-fab7ce3f5b4060bf62659e8b58529de4156b5a2f.tar.xz
glibc-fab7ce3f5b4060bf62659e8b58529de4156b5a2f.zip
Link extra-libs consistently with libc and ld.so.
Diffstat (limited to 'nptl_db')
-rw-r--r--nptl_db/ChangeLog5
-rw-r--r--nptl_db/Makefile6
2 files changed, 5 insertions, 6 deletions
diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog
index 34462ceb85..e0935e380b 100644
--- a/nptl_db/ChangeLog
+++ b/nptl_db/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-31  Joseph Myers  <joseph@codesourcery.com>
+
+	* Makefile ($(objpfx)libthread_db.so): Remove dependencies on
+	libc.
+
 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
 
 	* db_info.c: Add missing #include <stdint.h> due to uint64_t or
diff --git a/nptl_db/Makefile b/nptl_db/Makefile
index 533fbaef89..77ea46e31b 100644
--- a/nptl_db/Makefile
+++ b/nptl_db/Makefile
@@ -51,12 +51,6 @@ libthread_db.so-no-z-defs = yes
 
 include ../Rules
 
-# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
-# This ensures they will load libc.so for needed symbols if loaded by
-# a statically-linked program that hasn't already loaded it.
-$(objpfx)libthread_db.so: $(common-objpfx)libc.so \
-			  $(common-objpfx)libc_nonshared.a
-
 tests: $(objpfx)db-symbols.out
 $(objpfx)db-symbols.out: $(objpfx)db-symbols.v.i \
 			 $(common-objpfx)nptl/libpthread.so