diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-12-23 12:24:30 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-12-23 14:12:56 +0100 |
commit | cd0c333d2ea82d0ae14719bdbef86d99615bdb00 (patch) | |
tree | d135c8897b0222d48ce2960a4c67ff9916f533f9 | |
parent | f20f980c71651e2b2c49e717f547d958cbe29a55 (diff) | |
download | glibc-cd0c333d2ea82d0ae14719bdbef86d99615bdb00.tar.gz glibc-cd0c333d2ea82d0ae14719bdbef86d99615bdb00.tar.xz glibc-cd0c333d2ea82d0ae14719bdbef86d99615bdb00.zip |
elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r-- | elf/dl-sysdep.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/elf/dl-sysdep.c b/elf/dl-sysdep.c index 4dc366eea4..1c78dc89c9 100644 --- a/elf/dl-sysdep.c +++ b/elf/dl-sysdep.c @@ -54,9 +54,6 @@ extern char _end[] attribute_hidden; /* Protect SUID program against misuse of file descriptors. */ extern void __libc_check_standard_fds (void); -#ifdef NEED_DL_BASE_ADDR -ElfW(Addr) _dl_base_addr; -#endif int __libc_enable_secure attribute_relro = 0; rtld_hidden_data_def (__libc_enable_secure) /* This variable contains the lowest stack address ever used. */ @@ -136,11 +133,6 @@ _dl_sysdep_start (void **start_argptr, case AT_ENTRY: user_entry = av->a_un.a_val; break; -#ifdef NEED_DL_BASE_ADDR - case AT_BASE: - _dl_base_addr = av->a_un.a_val; - break; -#endif #ifndef HAVE_AUX_SECURE case AT_UID: case AT_EUID: |