Lines Matching refs:part_idx
118 * \p part_idx.
121 const char *name, unsigned part_idx)
124 if ((symbol->part_idx == ~0u || symbol->part_idx == part_idx) && !strcmp(name, symbol->name))
176 static bool read_private_lds_symbols(struct ac_rtld_binary *binary, unsigned part_idx,
194 struct ac_rtld_part *part = &binary->parts[part_idx];
219 s.part_idx = part_idx;
227 const struct ac_rtld_symbol *shared = find_symbol(&binary->lds_symbols, s.name, part_idx);
296 symbol->part_idx = ~0u;
322 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) {
323 struct ac_rtld_part *part = &binary->parts[part_idx];
327 part->elf = elf_memory((char *)i.elf_ptrs[part_idx], i.elf_sizes[part_idx]);
381 if (!read_private_lds_symbols(binary, part_idx, section, &lds_end_align))
412 lds_end->part_idx = ~0u;
425 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) {
426 struct ac_rtld_part *part = &binary->parts[part_idx];
565 static bool resolve_symbol(const struct ac_rtld_upload_info *u, unsigned part_idx,
571 const struct ac_rtld_symbol *lds_sym = find_symbol(&u->binary->lds_symbols, name, part_idx);
587 struct ac_rtld_part *part = &u->binary->parts[part_idx];
605 static bool apply_relocs(const struct ac_rtld_upload_info *u, unsigned part_idx,
623 struct ac_rtld_part *part = &u->binary->parts[part_idx];
672 if (!resolve_symbol(u, part_idx, sym, symbol_name, &symbol))