public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Florian Weimer <fw@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/release/2.34/master] elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr Date: Thu, 19 May 2022 13:04:16 +0000 (GMT) [thread overview] Message-ID: <20220519130416.9ACD438485A7@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1f83d40dfab15a6888759552f24d1b5c0907408b commit 1f83d40dfab15a6888759552f24d1b5c0907408b Author: Florian Weimer <fweimer@redhat.com> Date: Thu Dec 23 12:24:30 2021 +0100 elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> (cherry picked from commit cd0c333d2ea82d0ae14719bdbef86d99615bdb00) Diff: --- elf/dl-sysdep.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/elf/dl-sysdep.c b/elf/dl-sysdep.c index 2c684c2db2..8075adf583 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:
reply other threads:[~2022-05-19 13:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220519130416.9ACD438485A7@sourceware.org \ --to=fw@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).