aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2023-12-28 18:32:02 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2024-07-08 09:41:45 +0100
commitcb02a617fbd9591e4c78d3f9e5135e499a4dca30 (patch)
tree0fdf715051cdd2689af0439b1af3fba36f4f02ea /sysdeps
parent6482ac2a5e57bb19ad0631f1ae02bf30119058f9 (diff)
downloadglibc-cb02a617fbd9591e4c78d3f9e5135e499a4dca30.zip
glibc-cb02a617fbd9591e4c78d3f9e5135e499a4dca30.tar.gz
glibc-cb02a617fbd9591e4c78d3f9e5135e499a4dca30.tar.bz2
aarch64: Use l_searchlist.r_list for gcs
Allows using the same function for static exe. TODO: not clear if the two are always equivalent other than the ordering and in case of static linking when dl-support.c leaves l_initfini NULL.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/aarch64/dl-gcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/aarch64/dl-gcs.c b/sysdeps/aarch64/dl-gcs.c
index a92deb5..764b8a5 100644
--- a/sysdeps/aarch64/dl-gcs.c
+++ b/sysdeps/aarch64/dl-gcs.c
@@ -55,5 +55,5 @@ _dl_gcs_check (struct link_map *l, const char *program)
check_gcs (l, program);
for (unsigned int i = 0; i < l->l_searchlist.r_nlist; i++)
- check_gcs (l->l_initfini[i], program);
+ check_gcs (l->l_searchlist.r_list[i], program);
}