summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-08 07:45:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-08 07:45:19 +0000
commit0579d34f9bf07b4a6bfebb51a83de3ac8356c01f (patch)
tree27afa8ee9581c525d64ed15d0855b5b5c4c5aa8d
parenta74af83dee5a792f42ccb96b9e8cadc21b899f1b (diff)
oops.
-rw-r--r--include/link.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/link.h b/include/link.h
index c1a328fbda9..ab1b244516f 100644
--- a/include/link.h
+++ b/include/link.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: link.h,v 1.7 2001/06/08 07:00:48 art Exp $ */
+/* $OpenBSD: link.h,v 1.8 2001/06/08 07:45:18 art Exp $ */
/* $NetBSD: link.h,v 1.10 1996/01/09 00:00:11 pk Exp $ */
/*
@@ -42,8 +42,6 @@
#ifndef _LINK_H_
#define _LINK_H_
-#include <sys/exec_elf.h>
-
/* XXXART - ? */
#ifndef DT_PROCNUM
#define DT_PROCNUM 0
@@ -172,10 +170,9 @@ struct so_debug {
/*
* Debug rendezvous struct. Pointer to this is set up in the
- * target code pointed by the DT_MIPS_RLD_MAP tag. If it is
+ * target code pointed by the DT_DEBUG tag. If it is
* defined.
*/
-
struct r_debug {
int r_version; /* Protocol version. */
struct link_map *r_map; /* Head of list of loaded objects. */
@@ -187,7 +184,7 @@ struct r_debug {
* The debugger can set a breakpoint at this address if it wants to
* notice shared object mapping changes.
*/
- Elf_Addr r_brk;
+ unsigned long r_brk;
enum {
/*
* This state value describes the mapping change taking place
@@ -198,10 +195,9 @@ struct r_debug {
RT_DELETE, /* Removing an object mapping. */
} r_state;
- Elf_Addr r_ldbase; /* Base address the linker is loaded at. */
+ unsigned long r_ldbase; /* Base address the linker is loaded at. */
};
-
/*
* Entry points into ld.so - user interface to the run-time linker.
*/