Lines Matching refs:esdo

2364   struct bfd_elf_section_data *esdo = elf_section_data (o);  in _bfd_elf_link_read_relocs()  local
2367 if (esdo->relocs != NULL) in _bfd_elf_link_read_relocs()
2368 return esdo->relocs; in _bfd_elf_link_read_relocs()
2391 if (esdo->rel.hdr) in _bfd_elf_link_read_relocs()
2392 size += esdo->rel.hdr->sh_size; in _bfd_elf_link_read_relocs()
2393 if (esdo->rela.hdr) in _bfd_elf_link_read_relocs()
2394 size += esdo->rela.hdr->sh_size; in _bfd_elf_link_read_relocs()
2403 if (esdo->rel.hdr) in _bfd_elf_link_read_relocs()
2405 if (!elf_link_read_relocs_from_section (abfd, o, esdo->rel.hdr, in _bfd_elf_link_read_relocs()
2410 + esdo->rel.hdr->sh_size); in _bfd_elf_link_read_relocs()
2411 internal_rela_relocs += (NUM_SHDR_ENTRIES (esdo->rel.hdr) in _bfd_elf_link_read_relocs()
2415 if (esdo->rela.hdr in _bfd_elf_link_read_relocs()
2416 && (!elf_link_read_relocs_from_section (abfd, o, esdo->rela.hdr, in _bfd_elf_link_read_relocs()
2423 esdo->relocs = internal_relocs; in _bfd_elf_link_read_relocs()
2500 struct bfd_elf_section_data *esdo; in _bfd_elf_link_output_relocs() local
2505 esdo = elf_section_data (output_section); in _bfd_elf_link_output_relocs()
2506 if (esdo->rel.hdr && esdo->rel.hdr->sh_entsize == input_rel_hdr->sh_entsize) in _bfd_elf_link_output_relocs()
2508 output_reldata = &esdo->rel; in _bfd_elf_link_output_relocs()
2511 else if (esdo->rela.hdr in _bfd_elf_link_output_relocs()
2512 && esdo->rela.hdr->sh_entsize == input_rel_hdr->sh_entsize) in _bfd_elf_link_output_relocs()
2514 output_reldata = &esdo->rela; in _bfd_elf_link_output_relocs()
10386 struct bfd_elf_section_data *esdi, *esdo; in elf_link_input_bfd() local
10389 esdo = elf_section_data (o->output_section); in elf_link_input_bfd()
10396 rel_hash = esdo->rel.hashes + esdo->rel.count; in elf_link_input_bfd()
10422 rel_hash = esdo->rela.hashes + esdo->rela.count; in elf_link_input_bfd()
10732 struct bfd_elf_section_data *esdo = elf_section_data (output_section); in elf_reloc_link_order() local
10743 if (esdo->rel.hdr) in elf_reloc_link_order()
10744 reldata = &esdo->rel; in elf_reloc_link_order()
10745 else if (esdo->rela.hdr) in elf_reloc_link_order()
10746 reldata = &esdo->rela; in elf_reloc_link_order()
11058 struct bfd_elf_section_data *esdo = elf_section_data (o); in elf_final_link_free() local
11059 if ((o->flags & SEC_RELOC) != 0 && esdo->rel.hashes != NULL) in elf_final_link_free()
11060 free (esdo->rel.hashes); in elf_final_link_free()
11061 if ((o->flags & SEC_RELOC) != 0 && esdo->rela.hashes != NULL) in elf_final_link_free()
11062 free (esdo->rela.hashes); in elf_final_link_free()
11184 struct bfd_elf_section_data *esdo = elf_section_data (o); in bfd_elf_final_link() local
11212 if (esdo->this_hdr.sh_type == SHT_REL in bfd_elf_final_link()
11213 || esdo->this_hdr.sh_type == SHT_RELA) in bfd_elf_final_link()
11283 esdo->rel.count += NUM_SHDR_ENTRIES (esdi->rel.hdr); in bfd_elf_final_link()
11284 esdo->rel.count += additional_reloc_count; in bfd_elf_final_link()
11288 esdo->rela.count += NUM_SHDR_ENTRIES (esdi->rela.hdr); in bfd_elf_final_link()
11289 esdo->rela.count += additional_reloc_count; in bfd_elf_final_link()
11295 esdo->rela.count += reloc_count; in bfd_elf_final_link()
11297 esdo->rel.count += reloc_count; in bfd_elf_final_link()
11335 struct bfd_elf_section_data *esdo = elf_section_data (o); in bfd_elf_final_link() local
11338 if (esdo->rel.hdr in bfd_elf_final_link()
11339 && !(_bfd_elf_link_size_reloc_section (abfd, &esdo->rel))) in bfd_elf_final_link()
11342 if (esdo->rela.hdr in bfd_elf_final_link()
11343 && !(_bfd_elf_link_size_reloc_section (abfd, &esdo->rela))) in bfd_elf_final_link()
11349 esdo->rel.count = 0; in bfd_elf_final_link()
11350 esdo->rela.count = 0; in bfd_elf_final_link()
11352 if (esdo->this_hdr.sh_offset == (file_ptr) -1) in bfd_elf_final_link()
11357 unsigned char *contents = esdo->this_hdr.contents; in bfd_elf_final_link()
11361 = (unsigned char *) bfd_malloc (esdo->this_hdr.sh_size); in bfd_elf_final_link()
11364 esdo->this_hdr.contents = contents; in bfd_elf_final_link()
11836 struct bfd_elf_section_data *esdo = elf_section_data (o); in bfd_elf_final_link() local
11842 if (esdo->rel.hdr != NULL in bfd_elf_final_link()
11843 && !elf_link_adjust_relocs (abfd, &esdo->rel, sort)) in bfd_elf_final_link()
11845 if (esdo->rela.hdr != NULL in bfd_elf_final_link()
11846 && !elf_link_adjust_relocs (abfd, &esdo->rela, sort)) in bfd_elf_final_link()