From 3f2e46a4948c846023275eb7a8c86ede0313cd2f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 4 Sep 2013 15:25:42 +0000 Subject: Remove --disable-versioning. --- dlfcn/Makefile | 2 +- dlfcn/modstatic2.c | 2 -- dlfcn/tststatic2.c | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'dlfcn') diff --git a/dlfcn/Makefile b/dlfcn/Makefile index f3c6df9..1eedc3f 100644 --- a/dlfcn/Makefile +++ b/dlfcn/Makefile @@ -27,7 +27,7 @@ extra-libs-others := libdl include ../Makeconfig -ifeq ($(versioning),yes) +ifeq ($(build-shared),yes) libdl-routines += dlopenold libdl-shared-only-routines := dlopenold dlfcn endif diff --git a/dlfcn/modstatic2.c b/dlfcn/modstatic2.c index 0703de8..9b5aae8 100644 --- a/dlfcn/modstatic2.c +++ b/dlfcn/modstatic2.c @@ -117,13 +117,11 @@ test (FILE *out, int a) exit (1); } -#ifdef DO_VERSIONING if (dlvsym (handle2, "_dlfcn_hook", "GLIBC_PRIVATE") == NULL) { fprintf (out, "dlvsym: %s\n", dlerror ()); exit (1); } -#endif void *(*dlsymfn) (void *, const char *); dlsymfn = dlsym (handle2, "dlsym"); diff --git a/dlfcn/tststatic2.c b/dlfcn/tststatic2.c index 85c0fb2..5d273a6 100644 --- a/dlfcn/tststatic2.c +++ b/dlfcn/tststatic2.c @@ -115,13 +115,11 @@ main (void) exit (1); } -#ifdef DO_VERSIONING if (dlvsym (handle2, "_dlfcn_hook", "GLIBC_PRIVATE") == NULL) { printf ("dlvsym: %s\n", dlerror ()); exit (1); } -#endif void *(*dlsymfn) (void *, const char *); dlsymfn = dlsym (handle2, "dlsym"); -- cgit v1.1