diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-09 18:30:58 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-09 18:30:58 +0000 |
commit | 0c367d923b58c146c30acc560c18097bacae91c4 (patch) | |
tree | c5691885d2c97733e1dbb294f919245084495466 /elf/link.h | |
parent | 19212f875d0dd43a8925c68e7b806561b4cabbb9 (diff) | |
download | glibc-0c367d923b58c146c30acc560c18097bacae91c4.tar glibc-0c367d923b58c146c30acc560c18097bacae91c4.tar.gz glibc-0c367d923b58c146c30acc560c18097bacae91c4.tar.bz2 glibc-0c367d923b58c146c30acc560c18097bacae91c4.zip |
Update.
1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-support.c (_dl_debug_bindings): Add definition.
* elf/rtld.c (_dl_debug_bindings): Add definition.
(process_dl_debug): Recognize bindings option. Update help message.
* elf/link.h (struct link_map): Add l_versyms member.
(_dl_debug_bindings): Add declaration.
* elf/version.c (_dl_check_map_versions): Initialize l_versyms.
* elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
and l_reloc_result.
* elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
(sym_val): Remove a member, add m as link_map.
(do_lookup): Return result appropriately.
(_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
Call do_lookup correctly.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
Diffstat (limited to 'elf/link.h')
-rw-r--r-- | elf/link.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/link.h b/elf/link.h index 5847945c58..d5e2b7f6b3 100644 --- a/elf/link.h +++ b/elf/link.h @@ -197,6 +197,9 @@ struct link_map /* Collected results of relocation while profiling. */ ElfW(Addr) *l_reloc_result; + + /* Pointer to the version information if available. */ + ElfW(Half) *l_versyms; }; @@ -248,6 +251,7 @@ extern struct link_map *_dl_profile_map; /* If nonzero the appropriate debug information is printed. */ extern int _dl_debug_libs; extern int _dl_debug_impcalls; +extern int _dl_debug_bindings; /* File deccriptor to write debug messages to. */ extern int _dl_debug_fd; |