diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-12-28 18:32:02 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-07-08 09:41:45 +0100 |
commit | cb02a617fbd9591e4c78d3f9e5135e499a4dca30 (patch) | |
tree | 0fdf715051cdd2689af0439b1af3fba36f4f02ea /sysdeps | |
parent | 6482ac2a5e57bb19ad0631f1ae02bf30119058f9 (diff) | |
download | glibc-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.c | 2 |
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); } |