/toolchain/binutils/binutils-2.25/ld/ |
D | ldwrite.c | 46 struct bfd_link_order *link_order; in build_link_order() local 58 link_order = bfd_new_link_order (link_info.output_bfd, output_section); in build_link_order() 59 if (link_order == NULL) in build_link_order() 62 link_order->type = bfd_data_link_order; in build_link_order() 63 link_order->offset = statement->data_statement.output_offset; in build_link_order() 64 link_order->u.data.contents = (bfd_byte *) xmalloc (QUAD_SIZE); in build_link_order() 146 link_order->u.data.contents); in build_link_order() 158 (link_order->u.data.contents in build_link_order() 161 (link_order->u.data.contents in build_link_order() 164 link_order->size = QUAD_SIZE; in build_link_order() [all …]
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | simple.c | 186 struct bfd_link_order link_order; in bfd_simple_get_relocated_section_contents() local 225 memset (&link_order, 0, sizeof (link_order)); in bfd_simple_get_relocated_section_contents() 226 link_order.next = NULL; in bfd_simple_get_relocated_section_contents() 227 link_order.type = bfd_indirect_link_order; in bfd_simple_get_relocated_section_contents() 228 link_order.offset = 0; in bfd_simple_get_relocated_section_contents() 229 link_order.size = sec->size; in bfd_simple_get_relocated_section_contents() 230 link_order.u.indirect.section = sec; in bfd_simple_get_relocated_section_contents() 272 &link_order, in bfd_simple_get_relocated_section_contents()
|
D | reloc16.c | 249 struct bfd_link_order *link_order, in bfd_coff_reloc16_get_relocated_section_contents() argument 255 bfd *input_bfd = link_order->u.indirect.section->owner; in bfd_coff_reloc16_get_relocated_section_contents() 256 asection *input_section = link_order->u.indirect.section; in bfd_coff_reloc16_get_relocated_section_contents() 268 link_order, in bfd_coff_reloc16_get_relocated_section_contents() 301 while (dst_address < link_order->size) in bfd_coff_reloc16_get_relocated_section_contents() 314 run = link_order->size - dst_address; in bfd_coff_reloc16_get_relocated_section_contents() 324 bfd_coff_reloc16_extra_cases (input_bfd, link_info, link_order, in bfd_coff_reloc16_get_relocated_section_contents()
|
D | linker.c | 1884 for (p = o->map_head.link_order; p != NULL; p = p->next) in _bfd_generic_final_link() 1913 for (p = o->map_head.link_order; p != NULL; p = p->next) in _bfd_generic_final_link() 1969 for (p = o->map_head.link_order; p != NULL; p = p->next) in _bfd_generic_final_link() 2377 struct bfd_link_order *link_order) in _bfd_generic_reloc_link_order() argument 2390 r->address = link_order->offset; in _bfd_generic_reloc_link_order() 2391 r->howto = bfd_reloc_type_lookup (abfd, link_order->u.reloc.p->reloc); in _bfd_generic_reloc_link_order() 2399 if (link_order->type == bfd_section_reloc_link_order) in _bfd_generic_reloc_link_order() 2400 r->sym_ptr_ptr = link_order->u.reloc.p->u.section->symbol_ptr_ptr; in _bfd_generic_reloc_link_order() 2407 link_order->u.reloc.p->u.name, in _bfd_generic_reloc_link_order() 2413 (info, link_order->u.reloc.p->u.name, NULL, NULL, 0))) in _bfd_generic_reloc_link_order() [all …]
|
D | coff-h8300.c | 623 struct bfd_link_order *link_order, arelent *reloc, in h8300_reloc16_extra_cases() argument 629 asection *input_section = link_order->u.indirect.section; in h8300_reloc16_extra_cases() 644 + link_order->u.indirect.section->output_section->vma); in h8300_reloc16_extra_cases() 676 + link_order->u.indirect.section->output_section->vma + 1); in h8300_reloc16_extra_cases() 790 + link_order->u.indirect.section->output_section->vma + 1); in h8300_reloc16_extra_cases() 837 + link_order->u.indirect.section->output_section->vma - 1); in h8300_reloc16_extra_cases() 898 + link_order->u.indirect.section->output_section->vma + 2); in h8300_reloc16_extra_cases() 1037 + link_order->u.indirect.section->output_section->vma) + 1; in h8300_reloc16_extra_cases()
|
D | cofflink.c | 637 for (p = o->map_head.link_order; p != NULL; p = p->next) in _bfd_coff_final_link() 834 for (p = o->map_head.link_order; p != NULL; p = p->next) in _bfd_coff_final_link() 2769 struct bfd_link_order *link_order) in _bfd_coff_reloc_link_order() argument 2775 howto = bfd_reloc_type_lookup (output_bfd, link_order->u.reloc.p->reloc); in _bfd_coff_reloc_link_order() 2782 if (link_order->u.reloc.p->addend != 0) in _bfd_coff_reloc_link_order() 2796 (bfd_vma) link_order->u.reloc.p->addend,\ in _bfd_coff_reloc_link_order() 2808 (link_order->type == bfd_section_reloc_link_order in _bfd_coff_reloc_link_order() 2810 link_order->u.reloc.p->u.section) in _bfd_coff_reloc_link_order() 2811 : link_order->u.reloc.p->u.name), in _bfd_coff_reloc_link_order() 2812 howto->name, link_order->u.reloc.p->addend, in _bfd_coff_reloc_link_order() [all …]
|
D | bfd.c | 1542 struct bfd_link_order *link_order, in bfd_get_relocated_section_contents() argument 1551 if (link_order->type == bfd_indirect_link_order) in bfd_get_relocated_section_contents() 1553 abfd2 = link_order->u.indirect.section->owner; in bfd_get_relocated_section_contents() 1562 return (*fn) (abfd, link_info, link_order, data, relocatable, symbols); in bfd_get_relocated_section_contents()
|
D | coff-z80.c | 176 struct bfd_link_order *link_order, in extra_case() argument 182 asection * input_section = link_order->u.indirect.section; in extra_case()
|
D | coff-h8500.c | 162 struct bfd_link_order *link_order, in extra_case() argument 169 asection *input_section = link_order->u.indirect.section; in extra_case()
|
D | ecoff.c | 3816 struct bfd_link_order *link_order) in ecoff_indirect_link_order() argument 3827 input_section = link_order->u.indirect.section; in ecoff_indirect_link_order() 3833 BFD_ASSERT (input_section->output_offset == link_order->offset); in ecoff_indirect_link_order() 3834 BFD_ASSERT (input_section->size == link_order->size); in ecoff_indirect_link_order() 3906 struct bfd_link_order *link_order) in ecoff_reloc_link_order() argument 3918 type = link_order->type; in ecoff_reloc_link_order() 3920 addend = link_order->u.reloc.p->addend; in ecoff_reloc_link_order() 3924 rel.address = link_order->offset; in ecoff_reloc_link_order() 3926 rel.howto = bfd_reloc_type_lookup (output_bfd, link_order->u.reloc.p->reloc); in ecoff_reloc_link_order() 3935 section = link_order->u.reloc.p->u.section; in ecoff_reloc_link_order() [all …]
|
D | coff-w65.c | 216 struct bfd_link_order *link_order, in w65_reloc16_extra_cases() argument 224 asection *input_section = link_order->u.indirect.section; in w65_reloc16_extra_cases()
|
D | coff-z8k.c | 192 struct bfd_link_order *link_order, in extra_case() argument 198 asection * input_section = link_order->u.indirect.section; in extra_case()
|
D | bout.c | 1207 struct bfd_link_order *link_order, in b_out_bfd_get_relocated_section_contents() argument 1213 bfd *input_bfd = link_order->u.indirect.section->owner; in b_out_bfd_get_relocated_section_contents() 1214 asection *input_section = link_order->u.indirect.section; in b_out_bfd_get_relocated_section_contents() 1225 link_order, in b_out_bfd_get_relocated_section_contents() 1256 while (dst_address < link_order->size) in b_out_bfd_get_relocated_section_contents() 1269 run = link_order->size - dst_address; in b_out_bfd_get_relocated_section_contents()
|
D | reloc.c | 7547 struct bfd_link_order *link_order, in bfd_generic_get_relocated_section_contents() argument 7552 bfd *input_bfd = link_order->u.indirect.section->owner; in bfd_generic_get_relocated_section_contents() 7553 asection *input_section = link_order->u.indirect.section; in bfd_generic_get_relocated_section_contents()
|
D | elf32-crx.c | 721 struct bfd_link_order *link_order, in elf32_crx_get_relocated_section_contents() argument 727 asection *input_section = link_order->u.indirect.section; in elf32_crx_get_relocated_section_contents() 738 link_order, data, in elf32_crx_get_relocated_section_contents()
|
D | elf-m10200.c | 1275 struct bfd_link_order *link_order, in mn10200_elf_get_relocated_section_contents() argument 1281 asection *input_section = link_order->u.indirect.section; in mn10200_elf_get_relocated_section_contents() 1292 link_order, data, in mn10200_elf_get_relocated_section_contents()
|
D | libcoff.h | 935 #define bfd_coff_reloc16_extra_cases(abfd, link_info, link_order,\ argument 938 (abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr))
|
D | elf32-h8300.c | 1606 struct bfd_link_order *link_order, in elf32_h8_get_relocated_section_contents() argument 1612 asection *input_section = link_order->u.indirect.section; in elf32_h8_get_relocated_section_contents() 1623 link_order, data, in elf32_h8_get_relocated_section_contents()
|
D | elflink.c | 8112 for (lo = rela_dyn->map_head.link_order; lo != NULL; lo = lo->next) in elf_link_sort_relocs() 8166 for (lo = rel_dyn->map_head.link_order; lo != NULL; lo = lo->next) in elf_link_sort_relocs() 8247 for (lo = dynamic_relocs->map_head.link_order; lo != NULL; lo = lo->next) in elf_link_sort_relocs() 8274 for (lo = dynamic_relocs->map_head.link_order; lo != NULL; lo = lo->next) in elf_link_sort_relocs() 8327 for (lo = dynamic_relocs->map_head.link_order; lo != NULL; lo = lo->next) in elf_link_sort_relocs() 10063 struct bfd_link_order *link_order) in elf_reloc_link_order() argument 10078 howto = bfd_reloc_type_lookup (output_bfd, link_order->u.reloc.p->reloc); in elf_reloc_link_order() 10085 addend = link_order->u.reloc.p->addend; in elf_reloc_link_order() 10099 if (link_order->type == bfd_section_reloc_link_order) in elf_reloc_link_order() 10101 indx = link_order->u.reloc.p->u.section->target_index; in elf_reloc_link_order() [all …]
|
D | xcofflink.c | 5683 struct bfd_link_order *link_order) in xcoff_reloc_link_order() argument 5693 if (link_order->type == bfd_section_reloc_link_order) in xcoff_reloc_link_order() 5700 howto = bfd_reloc_type_lookup (output_bfd, link_order->u.reloc.p->reloc); in xcoff_reloc_link_order() 5709 link_order->u.reloc.p->u.name, in xcoff_reloc_link_order() 5714 (flinfo->info, link_order->u.reloc.p->u.name, NULL, NULL, (bfd_vma) 0))) in xcoff_reloc_link_order() 5726 addend = link_order->u.reloc.p->addend; in xcoff_reloc_link_order() 5754 (flinfo->info, NULL, link_order->u.reloc.p->u.name, in xcoff_reloc_link_order() 5763 (file_ptr) link_order->offset, size); in xcoff_reloc_link_order() 5779 irel->r_vaddr = output_section->vma + link_order->offset; in xcoff_reloc_link_order() 5881 for (p = o->map_head.link_order; p != NULL; p = p->next) in _bfd_xcoff_bfd_final_link() [all …]
|
D | coff-alpha.c | 728 struct bfd_link_order *link_order, in alpha_ecoff_get_relocated_section_contents() argument 733 bfd *input_bfd = link_order->u.indirect.section->owner; in alpha_ecoff_get_relocated_section_contents() 734 asection *input_section = link_order->u.indirect.section; in alpha_ecoff_get_relocated_section_contents()
|
D | elf32-cr16.c | 1518 struct bfd_link_order *link_order, in elf32_cr16_get_relocated_section_contents() argument 1524 asection *input_section = link_order->u.indirect.section; in elf32_cr16_get_relocated_section_contents() 1535 link_order, data, in elf32_cr16_get_relocated_section_contents()
|
D | elf32-avr.c | 2624 struct bfd_link_order *link_order, in elf32_avr_get_relocated_section_contents() argument 2630 asection *input_section = link_order->u.indirect.section; in elf32_avr_get_relocated_section_contents() 2641 link_order, data, in elf32_avr_get_relocated_section_contents()
|
/toolchain/binutils/binutils-2.25/ld/emultempl/ |
D | pep.em | 1258 struct bfd_link_order *link_order = NULL; 1268 for (l = asec->map_head.link_order; l != NULL; l = l->next) 1274 link_order = l; 1280 if (link_order) 1284 if (!link_order) 1310 idd.AddressOfRawData = asec->vma - ib + link_order->offset 1312 idd.PointerToRawData = asec->filepos + link_order->offset 1319 if (bfd_seek (abfd, asec->filepos + link_order->offset, SEEK_SET) != 0) 1343 = asec->vma - ib + link_order->offset;
|
D | pe.em | 1294 struct bfd_link_order *link_order = NULL; 1304 for (l = asec->map_head.link_order; l != NULL; l = l->next) 1310 link_order = l; 1316 if (link_order) 1320 if (!link_order) 1346 idd.AddressOfRawData = asec->vma - ib + link_order->offset 1348 idd.PointerToRawData = asec->filepos + link_order->offset 1355 if (bfd_seek (abfd, asec->filepos + link_order->offset, SEEK_SET) != 0) 1379 = asec->vma - ib + link_order->offset;
|