diff options
Diffstat (limited to 'dlfcn/dlopen.c')
-rw-r--r-- | dlfcn/dlopen.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c index 66c43de059..76636fdba4 100644 --- a/dlfcn/dlopen.c +++ b/dlfcn/dlopen.c @@ -1,5 +1,5 @@ /* Load a shared object at run time. - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -50,8 +50,5 @@ __dlopen_check (const char *file, int mode) return _dlerror_run (dlopen_doit, &args) ? NULL : args.new; } -#if defined PIC && defined DO_VERSIONING -default_symbol_version (__dlopen_check, dlopen, GLIBC_2.1); -#else -weak_alias (__dlopen_check, dlopen) -#endif +#include <shlib-compat.h> +versioned_symbol (libdl, __dlopen_check, dlopen, GLIBC_2_1); |