Annotation of src/include/link_elf.h, Revision 1.1
1.1 ! art 1: /* $OpenBSD$ */
! 2:
! 3: /*
! 4: * Public domain.
! 5: */
! 6:
! 7: #include <elf_abi.h>
! 8:
! 9: #ifndef DT_PROCNUM
! 10: #define DT_PROCNUM 0
! 11: #endif
! 12:
! 13: /*
! 14: * struct link_map is a part of the protocol between the debugger and
! 15: * ld.so.
! 16: */
! 17: struct link_map {
! 18: caddr_t l_addr; /* Base address of library */
! 19: const char *l_name; /* Absolute path to library */
! 20: void *l_ld; /* pointer to _DYNAMIC */
! 21: struct link_map *l_next;
! 22: struct link_map *l_prev;
! 23: };
! 24: