diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-08-13 22:24:08 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-08-13 22:24:08 -0400 |
commit | 73d7af4f4c2b394063cb0b3a33ee2b00b5ad80b4 (patch) | |
tree | c12e70c1f4c880fcb9af79401387766719d3f7f0 /sysdeps/generic/ldsodefs.h | |
parent | 1dc277048c82f5445031b9273114a6a5c505abd8 (diff) | |
download | glibc-73d7af4f4c2b394063cb0b3a33ee2b00b5ad80b4.tar.gz glibc-73d7af4f4c2b394063cb0b3a33ee2b00b5ad80b4.tar.xz glibc-73d7af4f4c2b394063cb0b3a33ee2b00b5ad80b4.zip |
Implement LD_DEBUG=scopes
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 26c74f6ce0..a5f0a25ccc 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -556,9 +556,10 @@ struct rtld_global_ro #define DL_DEBUG_FILES (1 << 6) #define DL_DEBUG_STATISTICS (1 << 7) #define DL_DEBUG_UNUSED (1 << 8) +#define DL_DEBUG_SCOPES (1 << 9) /* These two are used only internally. */ -#define DL_DEBUG_HELP (1 << 9) -#define DL_DEBUG_PRELINK (1 << 10) +#define DL_DEBUG_HELP (1 << 10) +#define DL_DEBUG_PRELINK (1 << 11) /* OS version. */ EXTERN unsigned int _dl_osversion; @@ -1104,6 +1105,9 @@ extern void *_dl_tls_get_addr_soft (struct link_map *l) attribute_hidden; extern int _dl_addr_inside_object (struct link_map *l, const ElfW(Addr) addr) internal_function attribute_hidden; +/* Show show of an object. */ +extern void _dl_show_scope (struct link_map *new); + __END_DECLS #endif /* ldsodefs.h */ |