about summary refs log tree commit diff
path: root/nptl_db/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-28 14:33:53 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-28 15:05:42 +0200
commitfef400a2f976d1fd6a4639e6980f6c50ee13fbf5 (patch)
treecb92de8390f3c38c40f54e6dc496b39ae449563a /nptl_db/Makefile
parentb369cc4e9c2436b9b4f56128059313b69b0c300d (diff)
downloadglibc-fef400a2f976d1fd6a4639e6980f6c50ee13fbf5.tar.gz
glibc-fef400a2f976d1fd6a4639e6980f6c50ee13fbf5.tar.xz
glibc-fef400a2f976d1fd6a4639e6980f6c50ee13fbf5.zip
nptl: Export libthread_db-used symbols under GLIBC_PRIVATE
This allows distributions to strip debugging information from
libc.so.6 without impacting the debugging experience.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl_db/Makefile')
-rw-r--r--nptl_db/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl_db/Makefile b/nptl_db/Makefile
index 1f79c018a1..c04aa6140a 100644
--- a/nptl_db/Makefile
+++ b/nptl_db/Makefile
@@ -55,7 +55,7 @@ include ../Rules
 
 $(objpfx)db-symbols.out: $(objpfx)db-symbols.v.i \
 			 $(common-objpfx)libc.so
-	LC_ALL=C $(READELF) -W -s $(filter %.so,$^) | $(AWK) -f $< > $@; \
+	LC_ALL=C $(READELF) -W -D -s $(filter %.so,$^) | $(AWK) -f $< > $@; \
 	$(evaluate-test)
 
 $(objpfx)db-symbols.v.i: db-symbols.awk