From 3fbb33ad15ed753422d4175a9461d3aa8840ea5e Mon Sep 17 00:00:00 2001 From: pefo Date: Mon, 14 Apr 1997 08:09:46 +0000 Subject: [PATCH] struct elf_resolv has to be compatible with struct link_map or gdb will not be able to pick up loaded shared lib info. --- gnu/libexec/ld.so/ld.so/hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1