aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-08-22 19:33:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-08-22 19:33:16 +0000
commita963dc6ade92e7fc92756912815fc7d852576792 (patch)
treed941b146c520e2529ef48d2110634cb3c6447e47 /bfd/elf-bfd.h
parent4193618c3cda64e4e5d75a8abdee88894d8b5285 (diff)
downloadgdb-a963dc6ade92e7fc92756912815fc7d852576792.zip
gdb-a963dc6ade92e7fc92756912815fc7d852576792.tar.gz
gdb-a963dc6ade92e7fc92756912815fc7d852576792.tar.bz2
2000-08-22 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (elf_link_hash_table): Add runpath. * bfd-in.h (bfd_elf_get_runpath_list): New prototype. * bfd-in2.h: Rebuilt. * elf.c (_bfd_elf_link_hash_table_init): Initialize the "runpath" field to NULL. (bfd_elf_get_runpath_list): New function. * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and DT_RUNPATH entries.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 0ef27ea..b84948f 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -243,6 +243,9 @@ struct elf_link_hash_table
PTR stab_info;
/* A linked list of local symbols to be added to .dynsym. */
struct elf_link_local_dynamic_entry *dynlocal;
+ /* A linked list of DT_RPATH/DT_RUNPATH names found in dynamic
+ objects included in the link. */
+ struct bfd_link_needed_list *runpath;
};
/* Look up an entry in an ELF linker hash table. */