diff options
author | Roland McGrath <roland@redhat.com> | 2009-11-22 20:42:53 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-12-09 01:01:28 -0800 |
commit | 6f1672172c9c9e5eb5afdcf521e3528b38b2e2dd (patch) | |
tree | f1ca70b5d1c32d593b0c2e825f10c56b49d14c06 /nptl_db/Makefile | |
parent | ee1a7fabb4e0abd3e73e828ce326dcb5fd38b874 (diff) | |
download | glibc-6f1672172c9c9e5eb5afdcf521e3528b38b2e2dd.tar.gz |
Make libthread_db work without libpthread, just enough for TLS decoding.roland/nptl_db
Diffstat (limited to 'nptl_db/Makefile')
-rw-r--r-- | nptl_db/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nptl_db/Makefile b/nptl_db/Makefile index af542dcac9..8d53779246 100644 --- a/nptl_db/Makefile +++ b/nptl_db/Makefile @@ -51,7 +51,8 @@ libthread_db-inhibit-o = $(filter-out .os,$(object-suffixes)) libthread_db.so-no-z-defs = yes distribute = thread_dbP.h shlib-versions proc_service.h \ - db_info.c structs.def db-symbols.h db-symbols.awk + db_info.c structs.def db-symbols.h \ + db-symbols.awk rtld-db-symbols.awk include ../Rules # Depend on libc.so so a DT_NEEDED is generated in the shared objects. @@ -66,3 +67,10 @@ $(objpfx)db-symbols.out: $(objpfx)db-symbols.v.i \ readelf -W -s $(filter %.so,$^) | $(AWK) -f $< > $@ $(objpfx)db-symbols.v.i: db-symbols.awk + +tests: $(objpfx)rtld-db-symbols.out +$(objpfx)rtld-db-symbols.out: $(objpfx)rtld-db-symbols.v.i \ + $(common-objpfx)elf/ld.so + readelf -W -s $(filter %.so,$^) | $(AWK) -f $< > $@ + +$(objpfx)rtld-db-symbols.v.i: rtld-db-symbols.awk db-symbols.awk |