diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-05-03 17:01:44 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-05-17 10:14:03 +0100 |
commit | 86147bbeec25624cb26bb7646cdbc3a49bc56bf5 (patch) | |
tree | 5d8052a0813836943eafd49956304bf98288e1d2 /sysdeps/unix/sysv/linux/ia64 | |
parent | ad43cac44a6860eaefcadadfb2acb349921e96bf (diff) | |
download | glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.tar.gz glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.tar.xz glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.zip |
rtld: Remove DL_ARGV_NOT_RELRO and make _dl_skip_args const
_dl_skip_args is always 0, so the target specific code that modifies argv after relro protection is applied is no longer used. After the patch relro protection is applied to _dl_argv consistently on all targets. Reviewed-by: Florian Weimer <fweimer@redhat.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/dl-sysdep.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h b/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h index 0d2a1d093a..aa1de6b361 100644 --- a/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h +++ b/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h @@ -48,8 +48,4 @@ extern int _dl_sysinfo_break attribute_hidden; ".previous"); #endif -/* _dl_argv cannot be attribute_relro, because _dl_start_user - might write into it after _dl_start returns. */ -#define DL_ARGV_NOT_RELRO 1 - #endif /* dl-sysdep.h */ |