Module Name: src Committed By: pooka Date: Wed Nov 4 19:28:03 UTC 2009
Modified Files: src/include: link_elf.h Log Message: typedef struct link_map as Link_map (for solaris-compat) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/include/link_elf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/link_elf.h diff -u src/include/link_elf.h:1.7 src/include/link_elf.h:1.8 --- src/include/link_elf.h:1.7 Wed Jan 11 22:50:35 2006 +++ src/include/link_elf.h Wed Nov 4 19:28:03 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: link_elf.h,v 1.7 2006/01/11 22:50:35 uwe Exp $ */ +/* $NetBSD: link_elf.h,v 1.8 2009/11/04 19:28:03 pooka Exp $ */ /* * This only exists for GDB. @@ -11,7 +11,7 @@ #include <machine/elf_machdep.h> -struct link_map { +typedef struct link_map { caddr_t l_addr; /* Base Address of library */ #ifdef __mips__ caddr_t l_offs; /* Load Offset of library */ @@ -20,7 +20,7 @@ void *l_ld; /* Pointer to .dynamic in memory */ struct link_map *l_next; /* linked list of of mapped libs */ struct link_map *l_prev; -}; +} Link_map; struct r_debug { int r_version; /* not used */