summaryrefslogtreecommitdiff
path: root/gnu/libexec/ld.so
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1997-04-14 08:09:47 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1997-04-14 08:09:47 +0000
commit90228cf9d162a8e038079cc7d3c5f70752534574 (patch)
tree8e66e9e5133bc51fd2b572a7206a37854c1c3e51 /gnu/libexec/ld.so
parent9c6876724695118c708804ed2c57bb67ed3c49d9 (diff)
struct elf_resolv has to be compatible with struct link_map or gdb will
not be able to pick up loaded shared lib info.
Diffstat (limited to 'gnu/libexec/ld.so')
-rw-r--r--gnu/libexec/ld.so/ld.so/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/libexec/ld.so/ld.so/hash.h b/gnu/libexec/ld.so/ld.so/hash.h
index fea594091b5..9f263cd81d9 100644
--- a/gnu/libexec/ld.so/ld.so/hash.h
+++ b/gnu/libexec/ld.so/ld.so/hash.h
@@ -13,12 +13,12 @@ struct elf_resolve{
/* These entries must be in this order to be compatible with the interface used
by gdb to obtain the list of symbols. */
char * loadaddr;
+ char * loadoffs;
char * libname;
unsigned int dynamic_addr;
struct elf_resolve * next;
struct elf_resolve * prev;
/* Nothing after this address is used by gdb. */
- char * loadoffs;
enum {elf_lib, elf_executable,program_interpreter, loaded_file} libtype;
struct dyn_elf * symbol_scope;
unsigned short usage_count;