1 /* $NetBSD: link_elf.h,v 1.7 2006/01/11 22:50:35 uwe Exp $ */
4 * This only exists for GDB.
10 #include <sys/types.h>
12 #include <machine/elf_machdep.h>
14 typedef struct link_map
{
15 caddr_t l_addr
; /* Base Address of library */
17 caddr_t l_offs
; /* Load Offset of library */
19 const char *l_name
; /* Absolute Path to Library */
20 void *l_ld
; /* Pointer to .dynamic in memory */
21 struct link_map
*l_next
; /* linked list of of mapped libs */
22 struct link_map
*l_prev
;
26 int r_version
; /* not used */
27 struct link_map
*r_map
; /* list of loaded images */
28 void (*r_brk
)(void); /* pointer to break point */
30 RT_CONSISTENT
, /* things are stable */
31 RT_ADD
, /* adding a shared library */
32 RT_DELETE
/* removing a shared library */
36 #endif /* _LINK_ELF_H_ */