diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-09-04 15:25:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-09-04 15:25:42 +0000 |
commit | 3f2e46a4948c846023275eb7a8c86ede0313cd2f (patch) | |
tree | 963a5dfe20f51d8cb5b8e2a6435c8fee9bb878f0 /dlfcn | |
parent | 44558701ff93118de40d5d5484e210149570f951 (diff) | |
download | glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.tar glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.tar.gz glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.tar.bz2 glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.zip |
Remove --disable-versioning.
Diffstat (limited to 'dlfcn')
-rw-r--r-- | dlfcn/Makefile | 2 | ||||
-rw-r--r-- | dlfcn/modstatic2.c | 2 | ||||
-rw-r--r-- | dlfcn/tststatic2.c | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile index f3c6df9c1b..1eedc3fc5b 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 0703de851c..9b5aae8b9f 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 85c0fb2ff9..5d273a69bf 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"); |