diff options
Diffstat (limited to 'nptl_db/db-symbols.awk')
-rw-r--r-- | nptl_db/db-symbols.awk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl_db/db-symbols.awk b/nptl_db/db-symbols.awk index f9a91b93bf..ce8701c806 100644 --- a/nptl_db/db-symbols.awk +++ b/nptl_db/db-symbols.awk @@ -1,6 +1,10 @@ # This script processes the output of 'readelf -W -s' on the libpthread.so # we've just built. It checks for all the symbols used in td_symbol_list. +%ifndef IS_IN_rtld +%define IS_IN_libpthread +%endif + BEGIN { %define DB_LOOKUP_NAME(idx, name) required[STRINGIFY (name)] = 1; %define DB_LOOKUP_NAME_TH_UNIQUE(idx, name) th_unique[STRINGIFY (name)] = 1; |