mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-05 17:11:06 +00:00
elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit cd0c333d2e
)
This commit is contained in:
parent
596c9a32cc
commit
1f83d40dfa
@ -54,9 +54,6 @@ extern char _end[] attribute_hidden;
|
|||||||
/* Protect SUID program against misuse of file descriptors. */
|
/* Protect SUID program against misuse of file descriptors. */
|
||||||
extern void __libc_check_standard_fds (void);
|
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;
|
int __libc_enable_secure attribute_relro = 0;
|
||||||
rtld_hidden_data_def (__libc_enable_secure)
|
rtld_hidden_data_def (__libc_enable_secure)
|
||||||
/* This variable contains the lowest stack address ever used. */
|
/* This variable contains the lowest stack address ever used. */
|
||||||
@ -136,11 +133,6 @@ _dl_sysdep_start (void **start_argptr,
|
|||||||
case AT_ENTRY:
|
case AT_ENTRY:
|
||||||
user_entry = av->a_un.a_val;
|
user_entry = av->a_un.a_val;
|
||||||
break;
|
break;
|
||||||
#ifdef NEED_DL_BASE_ADDR
|
|
||||||
case AT_BASE:
|
|
||||||
_dl_base_addr = av->a_un.a_val;
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
#ifndef HAVE_AUX_SECURE
|
#ifndef HAVE_AUX_SECURE
|
||||||
case AT_UID:
|
case AT_UID:
|
||||||
case AT_EUID:
|
case AT_EUID:
|
||||||
|
Loading…
Reference in New Issue
Block a user