Lines Matching refs:dyn
971 GElf_Dyn *dyn = gelf_getdyn (d, cnt, &dyn_mem); in is_rel_dyn() local
972 assert (dyn != NULL); in is_rel_dyn()
974 if (dyn->d_tag == DT_RELCOUNT) in is_rel_dyn()
979 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize) in is_rel_dyn()
983 (int) dyn->d_un.d_val); in is_rel_dyn()
1362 GElf_Dyn *dyn; in check_dynamic() local
1364 dyn = gelf_getdyn (data, cnt, &dyn_mem); in check_dynamic()
1365 if (dyn == NULL) in check_dynamic()
1373 if (has_dt[DT_NULL] && dyn->d_tag != DT_NULL && ! non_null_warned) in check_dynamic()
1381 if (!ebl_dynamic_tag_check (ebl, dyn->d_tag)) in check_dynamic()
1385 if (dyn->d_tag < DT_NUM) in check_dynamic()
1387 if (has_dt[dyn->d_tag] in check_dynamic()
1388 && dyn->d_tag != DT_NEEDED in check_dynamic()
1389 && dyn->d_tag != DT_NULL in check_dynamic()
1390 && dyn->d_tag != DT_POSFLAG_1) in check_dynamic()
1396 ebl_dynamic_tag_name (ebl, dyn->d_tag, in check_dynamic()
1400 if (be_strict && level2[dyn->d_tag]) in check_dynamic()
1406 ebl_dynamic_tag_name (ebl, dyn->d_tag, in check_dynamic()
1410 has_dt[dyn->d_tag] = true; in check_dynamic()
1413 if (dyn->d_tag == DT_PLTREL && dyn->d_un.d_val != DT_REL in check_dynamic()
1414 && dyn->d_un.d_val != DT_RELA) in check_dynamic()
1419 if (dyn->d_tag == DT_REL) in check_dynamic()
1420 reladdr = dyn->d_un.d_ptr; in check_dynamic()
1421 if (dyn->d_tag == DT_RELSZ) in check_dynamic()
1422 relsz = dyn->d_un.d_val; in check_dynamic()
1423 if (dyn->d_tag == DT_JMPREL) in check_dynamic()
1424 pltreladdr = dyn->d_un.d_ptr; in check_dynamic()
1425 if (dyn->d_tag == DT_PLTRELSZ) in check_dynamic()
1426 pltrelsz = dyn->d_un.d_val; in check_dynamic()