mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
elf: Remove unused NEED_DL_BASE_ADDR and _dl_base_addr
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
f20f980c71
commit
cd0c333d2e
@ -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