]> sourceware.org Git - glibc.git/commitdiff
elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr
authorFlorian Weimer <fweimer@redhat.com>
Thu, 23 Dec 2021 11:24:30 +0000 (12:24 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 23 Dec 2021 13:12:56 +0000 (14:12 +0100)
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/dl-sysdep.c

index 4dc366eea445e974515ecf2fb9a5d4d62382b97c..1c78dc89c9cbe54d62fa51dcce48ccd368d5372c 100644 (file)
@@ -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:
This page took 0.047371 seconds and 5 git commands to generate.