public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.34/master] elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr
@ 2022-05-19 13:04 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2022-05-19 13:04 UTC (permalink / raw)
  To: glibc-cvs

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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-19 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 13:04 [glibc/release/2.34/master] elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr Florian Weimer

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).