[BACK]Return to dlfcn_elf.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / dlfcn

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/dlfcn/dlfcn_elf.c between version 1.5 and 1.5.32.2

version 1.5, 2004/07/18 17:26:19 version 1.5.32.2, 2012/03/17 18:28:26
Line 37  __RCSID("$NetBSD$");
Line 37  __RCSID("$NetBSD$");
 #undef dlsym  #undef dlsym
 #undef dlerror  #undef dlerror
 #undef dladdr  #undef dladdr
   #undef dfinfo
   
 #define dlopen          ___dlopen  #define dlopen          ___dlopen
 #define dlclose         ___dlclose  #define dlclose         ___dlclose
 #define dlsym           ___dlsym  #define dlsym           ___dlsym
 #define dlerror         ___dlerror  #define dlerror         ___dlerror
 #define dladdr          ___dladdr  #define dladdr          ___dladdr
   #define dlinfo          ___dlinfo
   #define dl_iterate_phdr         ___dl_iterate_phdr
   
 #define ELFSIZE ARCH_ELFSIZE  #define ELFSIZE ARCH_ELFSIZE
 #include "rtld.h"  #include "rtld.h"
Line 53  __weak_alias(dlclose,___dlclose)
Line 56  __weak_alias(dlclose,___dlclose)
 __weak_alias(dlsym,___dlsym)  __weak_alias(dlsym,___dlsym)
 __weak_alias(dlerror,___dlerror)  __weak_alias(dlerror,___dlerror)
 __weak_alias(dladdr,___dladdr)  __weak_alias(dladdr,___dladdr)
   __weak_alias(dlinfo,___dlinfo)
   __weak_alias(dl_iterate_phdr,___dl_iterate_phdr)
   
 __weak_alias(__dlopen,___dlopen)  __weak_alias(__dlopen,___dlopen)
 __weak_alias(__dlclose,___dlclose)  __weak_alias(__dlclose,___dlclose)
 __weak_alias(__dlsym,___dlsym)  __weak_alias(__dlsym,___dlsym)
 __weak_alias(__dlerror,___dlerror)  __weak_alias(__dlerror,___dlerror)
 __weak_alias(__dladdr,___dladdr)  __weak_alias(__dladdr,___dladdr)
   __weak_alias(__dlinfo,___dlinfo)
   __weak_alias(__dl_iterate_phdr,___dl_iterate_phdr)
 #endif  #endif
   
 /*  /*
Line 112  dladdr(const void *addr, Dl_info *dli)
Line 119  dladdr(const void *addr, Dl_info *dli)
   
         return 0;          return 0;
 }  }
   
   /*ARGSUSED*/
   int
   dlinfo(void *handle, int req, void *v)
   {
   
           return -1;
   }
   
   /*ARGSUSED*/
   int
   dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *),
       void *data)
   {
   
           return 0;
   }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.5.32.2

CVSweb <webmaster@jp.NetBSD.org>