[BACK]Return to link_elf.h CVS log [TXT][DIR] Up to [local] / src / include

File: [local] / src / include / link_elf.h (download)

Revision 1.1, Fri Jun 7 03:00:01 2002 UTC (22 years ago) by art
Branch: MAIN

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).

/*	$OpenBSD: link_elf.h,v 1.1 2002/06/07 03:00:01 art Exp $	*/

/*
 * Public domain.
 */

#include <elf_abi.h>

#ifndef DT_PROCNUM
#define DT_PROCNUM 0
#endif

/*
 * struct link_map is a part of the protocol between the debugger and
 * ld.so.
 */
struct link_map {
	caddr_t		l_addr;		/* Base address of library */
	const char	*l_name;	/* Absolute path to library */
	void		*l_ld;		/* pointer to _DYNAMIC */
	struct link_map	*l_next;
	struct link_map	*l_prev;
};