Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/dlfcn/dlfcn_elf.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/dlfcn/dlfcn_elf.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.5 retrieving revision 1.5.32.1 diff -u -p -r1.5 -r1.5.32.1 --- src/lib/libc/dlfcn/dlfcn_elf.c 2004/07/18 17:26:19 1.5 +++ src/lib/libc/dlfcn/dlfcn_elf.c 2009/10/14 09:31:27 1.5.32.1 @@ -1,4 +1,4 @@ -/* $NetBSD: dlfcn_elf.c,v 1.5 2004/07/18 17:26:19 thorpej Exp $ */ +/* $NetBSD: dlfcn_elf.c,v 1.5.32.1 2009/10/14 09:31:27 sborrill Exp $ */ /* * Copyright (c) 2000 Takuya SHIOZAKI @@ -27,7 +27,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: dlfcn_elf.c,v 1.5 2004/07/18 17:26:19 thorpej Exp $"); +__RCSID("$NetBSD: dlfcn_elf.c,v 1.5.32.1 2009/10/14 09:31:27 sborrill Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -37,12 +37,14 @@ __RCSID("$NetBSD: dlfcn_elf.c,v 1.5 2004 #undef dlsym #undef dlerror #undef dladdr +#undef dfinfo #define dlopen ___dlopen #define dlclose ___dlclose #define dlsym ___dlsym #define dlerror ___dlerror #define dladdr ___dladdr +#define dlinfo ___dlinfo #define ELFSIZE ARCH_ELFSIZE #include "rtld.h" @@ -53,12 +55,14 @@ __weak_alias(dlclose,___dlclose) __weak_alias(dlsym,___dlsym) __weak_alias(dlerror,___dlerror) __weak_alias(dladdr,___dladdr) +__weak_alias(dlinfo,___dlinfo) __weak_alias(__dlopen,___dlopen) __weak_alias(__dlclose,___dlclose) __weak_alias(__dlsym,___dlsym) __weak_alias(__dlerror,___dlerror) __weak_alias(__dladdr,___dladdr) +__weak_alias(__dlinfo,___dlinfo) #endif /* @@ -112,3 +116,11 @@ dladdr(const void *addr, Dl_info *dli) return 0; } + +/*ARGSUSED*/ +int +dlinfo(void *handle, int req, void *v) +{ + + return -1; +}