diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-21 13:52:20 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-05-16 15:03:49 -0300 |
commit | d2db60d8d830ef68c8d20a77ac3572d610aa40b1 (patch) | |
tree | fdf43a50152db7e52afc4ec38516a3ff2d163c67 /elf/dl-support.c | |
parent | c628c2296392ed3bf2cb8d8470668e64fe53389f (diff) | |
download | glibc-d2db60d8d830ef68c8d20a77ac3572d610aa40b1.zip glibc-d2db60d8d830ef68c8d20a77ac3572d610aa40b1.tar.gz glibc-d2db60d8d830ef68c8d20a77ac3572d610aa40b1.tar.bz2 |
Remove dl-librecon.h header.
The Linux version used by i686 and m68k provide three overrrides for
generic code:
1. DISTINGUISH_LIB_VERSIONS to print additional information when
libc5 is used by a dependency.
2. EXTRA_LD_ENVVARS to that enabled LD_LIBRARY_VERSION environment
variable.
3. EXTRA_UNSECURE_ENVVARS to add two environment variables related
to aout support.
None are really requires, it has some decades since libc5 or aout
suppported was removed and Linux even remove support for aout files.
The LD_LIBRARY_VERSION is also dead code, dl_correct_cache_id is not
used anywhere.
Checked on x86_64-linux-gnu and i686-linux-gnu.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r-- | elf/dl-support.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c index 1e82e8c..4af0b5b 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -35,7 +35,6 @@ #include <dl-machine.h> #include <libc-lock.h> #include <dl-cache.h> -#include <dl-librecon.h> #include <dl-procinfo.h> #include <unsecvars.h> #include <hp-timing.h> @@ -157,8 +156,6 @@ struct link_map *_dl_initfirst; /* Descriptor to write debug messages to. */ int _dl_debug_fd = STDERR_FILENO; -int _dl_correct_cache_id = _DL_CACHE_DEFAULT_ID; - ElfW(auxv_t) *_dl_auxv; const ElfW(Phdr) *_dl_phdr; size_t _dl_phnum; @@ -303,9 +300,6 @@ _dl_non_dynamic_init (void) { static const char unsecure_envvars[] = UNSECURE_ENVVARS -#ifdef EXTRA_UNSECURE_ENVVARS - EXTRA_UNSECURE_ENVVARS -#endif ; const char *cp = unsecure_envvars; |