aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-05-03 17:01:44 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-05-17 10:14:03 +0100
commit86147bbeec25624cb26bb7646cdbc3a49bc56bf5 (patch)
tree5d8052a0813836943eafd49956304bf98288e1d2 /sysdeps/aarch64
parentad43cac44a6860eaefcadadfb2acb349921e96bf (diff)
downloadglibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.zip
glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.tar.gz
glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.tar.bz2
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/aarch64')
-rw-r--r--sysdeps/aarch64/dl-sysdep.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/aarch64/dl-sysdep.h b/sysdeps/aarch64/dl-sysdep.h
index 6677866..1516dd7 100644
--- a/sysdeps/aarch64/dl-sysdep.h
+++ b/sysdeps/aarch64/dl-sysdep.h
@@ -18,8 +18,4 @@
#include_next <dl-sysdep.h>
-/* _dl_argv cannot be attribute_relro, because _dl_start_user
- might write into it after _dl_start returns. */
-#define DL_ARGV_NOT_RELRO 1
-
#define DL_EXTERN_PROTECTED_DATA