Home | History | Annotate | Download | only in bfd

Lines Matching refs:hdr

2213       if (esdo->rel.hdr)
2214 size += esdo->rel.hdr->sh_size;
2215 if (esdo->rela.hdr)
2216 size += esdo->rela.hdr->sh_size;
2225 if (esdo->rel.hdr)
2227 if (!elf_link_read_relocs_from_section (abfd, o, esdo->rel.hdr,
2232 + esdo->rel.hdr->sh_size);
2233 internal_rela_relocs += (NUM_SHDR_ENTRIES (esdo->rel.hdr)
2237 if (esdo->rela.hdr
2238 && (!elf_link_read_relocs_from_section (abfd, o, esdo->rela.hdr,
2275 Elf_Internal_Shdr *rel_hdr = reldata->hdr;
2328 if (esdo->rel.hdr && esdo->rel.hdr->sh_entsize == input_rel_hdr->sh_entsize)
2333 else if (esdo->rela.hdr
2334 && esdo->rela.hdr->sh_entsize == input_rel_hdr->sh_entsize)
2348 erel = output_reldata->hdr->contents;
2925 Elf_Internal_Shdr * hdr;
2943 hdr = &elf_tdata (abfd)->symtab_hdr;
2945 hdr = &elf_tdata (abfd)->dynsymtab_hdr;
2947 symcount = hdr->sh_size / get_elf_backend_data (abfd)->s->sizeof_sym;
2958 extsymcount = symcount - hdr->sh_info;
2959 extsymoff = hdr->sh_info;
2966 isymbuf = bfd_elf_get_elf_syms (abfd, hdr, extsymcount, extsymoff,
2977 name = bfd_elf_string_from_elf_section (abfd, hdr->sh_link,
3321 Elf_Internal_Shdr *hdr;
3678 hdr = &elf_tdata (abfd)->symtab_hdr;
3680 hdr = &elf_tdata (abfd)->dynsymtab_hdr;
3682 symcount = hdr->sh_size / bed->s->sizeof_sym;
3694 extsymcount = symcount - hdr->sh_info;
3695 extsymoff = hdr->sh_info;
3701 isymbuf = bfd_elf_get_elf_syms (abfd, hdr, extsymcount, extsymoff,
3897 name = bfd_elf_string_from_elf_section (abfd, hdr->sh_link,
7989 if (reldata->hdr->sh_entsize == bed->s->sizeof_rel)
7994 else if (reldata->hdr->sh_entsize == bed->s->sizeof_rela)
8016 erela = reldata->hdr->contents;
8017 for (i = 0; i < count; i++, rel_hash++, erela += reldata->hdr->sh_entsize)
8371 Elf_Internal_Shdr *hdr;
8375 hdr = &elf_tdata (flinfo->output_bfd)->symtab_hdr;
8376 pos = hdr->sh_offset + hdr->sh_size;
8382 hdr->sh_size += amt;
8529 Elf_Internal_Shdr *hdr;
8548 hdr = &elf_tdata (input)->dynsymtab_hdr;
8550 symcount = hdr->sh_size / bed->s->sizeof_sym;
8558 extsymcount = symcount - hdr->sh_info;
8559 extsymoff = hdr->sh_info;
8565 isymbuf = bfd_elf_get_elf_syms (input, hdr, extsymcount, extsymoff,
8599 hdr->sh_link,
9767 if (esdi->rel.hdr != NULL)
9768 irelamid += (NUM_SHDR_ENTRIES (esdi->rel.hdr)
9974 input_rel_hdr = esdi->rel.hdr;
9987 input_rela_hdr = esdi->rela.hdr;
10099 if (esdo->rel.hdr)
10101 else if (esdo->rela.hdr)
10222 rel_hdr = reldata->hdr;
10619 if (esdi->rel.hdr != NULL)
10620 ext_size = esdi->rel.hdr->sh_size;
10621 if (esdi->rela.hdr != NULL)
10622 ext_size += esdi->rela.hdr->sh_size;
10640 if (esdi->rel.hdr)
10641 esdo->rel.count += NUM_SHDR_ENTRIES (esdi->rel.hdr);
10642 if (esdi->rela.hdr)
10643 esdo->rela.count += NUM_SHDR_ENTRIES (esdi->rela.hdr);
10691 if (esdo->rel.hdr
10695 if (esdo->rela.hdr
11181 if (esdo->rel.hdr != NULL)
11183 if (esdo->rela.hdr != NULL)
11346 Elf_Internal_Shdr *hdr;
11348 hdr = elf_elfsections (abfd)[i];
11349 if (hdr->sh_type == type
11350 && (hdr->sh_flags & SHF_ALLOC) != 0)
11353 dyn.d_un.d_val += hdr->sh_size;
11357 || hdr->sh_addr < dyn.d_un.d_ptr)
11358 dyn.d_un.d_ptr = hdr->sh_addr;