]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
aarch64: Use l_searchlist.r_list for gcs
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 28 Dec 2023 18:32:02 +0000 (18:32 +0000)
committerYury Khrustalev <yury.khrustalev@arm.com>
Mon, 14 Oct 2024 12:16:03 +0000 (13:16 +0100)
Allows using the same function for static exe.

sysdeps/aarch64/dl-gcs.c

index a92deb54b5f958fff945a6e53f850f63b4d632ae..764b8a56e954b696126687749ef3755187434659 100644 (file)
@@ -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);
 }