1 /* $OpenBSD: link_elf.h,v 1.6 2006/02/06 16:51:50 jmc Exp $ */
17 * struct link_map is a part of the protocol between the debugger and
18 * ld.so. ld.so may have additional fields in it's version of this
19 * structure but those are ld.so private fields.
22 caddr_t l_addr
; /* Base address of library */
23 const char *l_name
; /* Absolute path to library */
24 void *l_ld
; /* pointer to _DYNAMIC */
25 struct link_map
*l_next
;
26 struct link_map
*l_prev
;
31 const char *dlpi_name
;
32 const Elf_Phdr
*dlpi_phdr
;
37 int dl_iterate_phdr (int (*)(struct dl_phdr_info
*, size_t, void *),
41 #endif /* !_LINK_ELF_H */