/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | netbsd-core.c | 60 asection *asect; local 129 asect = bfd_make_section_anyway_with_flags (abfd, sname, flags); 130 if (asect == NULL) 133 asect->size = coreseg.c_size; 134 asect->vma = coreseg.c_addr; 135 asect->filepos = offset; 136 asect->alignment_power = 2; 158 asect->size = wcookie_offset; 162 asect = bfd_make_section_anyway_with_flags (abfd, ".wcookie", 164 if (asect [all...] |
H A D | osf-core.c | 68 asection *asect; local 70 asect = bfd_make_section_anyway_with_flags (abfd, name, flags); 71 if (!asect) 74 asect->size = size; 75 asect->vma = vma; 76 asect->filepos = filepos; 77 asect->alignment_power = 8; 79 return asect;
|
H A D | elf64-sparc.c | 54 elf64_sparc_slurp_one_reloc_table (bfd *abfd, asection *asect, argument 76 relents = asect->relocation + canon_reloc_count (asect); 98 relent->address = rela.r_offset - asect->vma; 132 canon_reloc_count (asect) += relent - relents; 148 elf64_sparc_slurp_reloc_table (bfd *abfd, asection *asect, argument 151 struct bfd_elf_section_data * const d = elf_section_data (asect); 156 if (asect->relocation != NULL) 161 if ((asect->flags & SEC_RELOC) == 0 162 || asect [all...] |
H A D | sco5-core.c | 64 asection *asect; local 66 asect = bfd_make_section_anyway_with_flags (abfd, name, flags); 67 if (!asect) 69 asect->size = size; 70 asect->vma = vma; 71 asect->filepos = filepos; 72 asect->alignment_power = 2; 74 return asect;
|
H A D | rs6000-core.c | 290 asection *asect; local 292 asect = bfd_make_section_anyway_with_flags (abfd, name, flags); 293 if (!asect) 296 asect->size = size; 297 asect->vma = vma; 298 asect->filepos = filepos; 299 asect->alignment_power = 8; 301 return asect;
|
H A D | bfd.c | 711 bfd_get_reloc_upper_bound (bfd *abfd, sec_ptr asect) 719 return BFD_SEND (abfd, _get_reloc_upper_bound, (abfd, asect)); 745 sec_ptr asect, 756 (abfd, asect, location, symbols)); 776 sec_ptr asect, 780 asect->orelocation = location; 781 asect->reloc_count = count; 708 bfd_get_reloc_upper_bound(bfd *abfd, sec_ptr asect) argument 741 bfd_canonicalize_reloc(bfd *abfd, sec_ptr asect, arelent **location, asymbol **symbols) argument 772 bfd_set_reloc(bfd *ignore_abfd ATTRIBUTE_UNUSED, sec_ptr asect, arelent **location, unsigned int count) argument
|
H A D | bout.c | 673 b_out_slurp_reloc_table (bfd *abfd, sec_ptr asect, asymbol **symbols) 687 if (asect->relocation) 693 if (asect == obj_datasec (abfd)) 695 else if (asect == obj_textsec (abfd)) 697 else if (asect == obj_bsssec (abfd)) 705 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0) 877 asect->relocation = reloc_cache; 878 asect->reloc_count = count; 921 b_out_get_reloc_upper_bound (bfd *abfd, sec_ptr asect) 929 if (asect 672 b_out_slurp_reloc_table(bfd *abfd, sec_ptr asect, asymbol **symbols) argument 920 b_out_get_reloc_upper_bound(bfd *abfd, sec_ptr asect) argument [all...] |
H A D | elf.c | 2733 asection *asect, 2738 bfd_size_type amt = sizeof ".rela" + strlen (asect->name); 2743 sprintf (name, "%s%s", use_rela_p ? ".rela" : ".rel", asect->name); 2765 elf_fake_sections (bfd *abfd, asection *asect, void *failedptrarg) 2779 this_hdr = &elf_section_data (asect)->this_hdr; 2782 asect->name, FALSE); 2791 if ((asect->flags & SEC_ALLOC) != 0 2792 || asect->user_set_vma) 2793 this_hdr->sh_addr = asect->vma; 2798 this_hdr->sh_size = asect 2726 _bfd_elf_init_reloc_shdr(bfd *abfd, Elf_Internal_Shdr *rel_hdr, asection *asect, bfd_boolean use_rela_p) argument 2760 elf_fake_sections(bfd *abfd, asection *asect, void *failedptrarg) argument 3404 asection *asect; local 5149 _bfd_elf_section_from_bfd_section(bfd *abfd, struct bfd_section *asect) argument 6573 _bfd_elf_get_reloc_upper_bound(bfd *abfd ATTRIBUTE_UNUSED, sec_ptr asect) argument [all...] |
H A D | elf64-mips.c | 2416 mips_elf64_slurp_one_reloc_table (bfd *abfd, asection *asect, 2556 relent->address = rela.r_offset - asect->vma; 2566 asect->reloc_count += (relent - relents) / 3; 2586 mips_elf64_slurp_reloc_table (bfd *abfd, asection *asect, 2589 struct bfd_elf_section_data * const d = elf_section_data (asect); 2597 if (asect->relocation != NULL) 2602 if ((asect->flags & SEC_RELOC) == 0 2603 || asect->reloc_count == 0) 2611 BFD_ASSERT (asect->reloc_count == reloc_count + reloc_count2); 2612 BFD_ASSERT (asect 2411 mips_elf64_slurp_one_reloc_table(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, bfd_size_type reloc_count, arelent *relents, asymbol **symbols, bfd_boolean dynamic) argument 2581 mips_elf64_slurp_reloc_table(bfd *abfd, asection *asect, asymbol **symbols, bfd_boolean dynamic) argument [all...] |
H A D | elfcode.h | 1352 asection *asect, 1405 relent->address = rela.r_offset - asect->vma; 1413 abfd->filename, asect->name, i, ELF_R_SYM (rela.r_info)); 1450 asection *asect, 1454 struct bfd_elf_section_data * const d = elf_section_data (asect); 1462 if (asect->relocation != NULL) 1467 if ((asect->flags & SEC_RELOC) == 0 1468 || asect->reloc_count == 0) 1476 BFD_ASSERT (asect->reloc_count == reloc_count + reloc_count2); 1477 BFD_ASSERT (asect 1348 elf_slurp_reloc_table_from_section(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, bfd_size_type reloc_count, arelent *relents, asymbol **symbols, bfd_boolean dynamic) argument 1446 elf_slurp_reloc_table(bfd *abfd, asection *asect, asymbol **symbols, bfd_boolean dynamic) argument [all...] |
H A D | coffcode.h | 4257 coff_slurp_line_table (bfd *abfd, asection *asect) 4263 BFD_ASSERT (asect->lineno == NULL); 4265 amt = (bfd_size_type) bfd_coff_linesz (abfd) * asect->lineno_count; 4266 native_lineno = (LINENO *) buy_and_read (abfd, asect->line_filepos, amt); 4273 amt = ((bfd_size_type) asect->lineno_count + 1) * sizeof (alent); 4283 while (counter < asect->lineno_count) 4323 - bfd_section_vma (abfd, asect); 4332 asect->lineno = lineno_cache; 4838 coff_slurp_reloc_table (bfd * abfd, sec_ptr asect, asymbol ** symbols) 4846 if (asect 4256 coff_slurp_line_table(bfd *abfd, asection *asect) argument 4837 coff_slurp_reloc_table(bfd * abfd, sec_ptr asect, asymbol ** symbols) argument [all...] |
H A D | aoutx.h | 2259 NAME (aout, slurp_reloc_table) (bfd *abfd, sec_ptr asect, asymbol **symbols) 2270 if (asect->relocation) 2273 if (asect->flags & SEC_CONSTRUCTOR) 2276 if (asect == obj_datasec (abfd)) 2278 else if (asect == obj_textsec (abfd)) 2280 else if (asect == obj_bsssec (abfd)) 2288 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0) 2334 asect->relocation = reloc_cache; 2335 asect->reloc_count = cache_ptr - reloc_cache; 2434 NAME (aout, get_reloc_upper_bound) (bfd *abfd, sec_ptr asect) [all...] |
H A D | coff-i386.c | 373 FIXME: This macro refers to symbols and asect; these are from the 393 cache_ptr->addend += asect->vma; \
|
H A D | coff-x86_64.c | 471 FIXME: This macro refers to symbols and asect; these are from the 493 cache_ptr->addend += asect->vma; \
|
H A D | pe-mips.c | 357 FIXME: This macro refers to symbols and asect; these are from the 377 cache_ptr->addend += asect->vma; \
|
H A D | coffgen.c | 1725 coff_get_reloc_upper_bound (bfd *abfd, sec_ptr asect) argument 1732 return (asect->reloc_count + 1) * sizeof (arelent *);
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | bfd-target.c | 37 add_to_section_table (struct bfd *abfd, struct bfd_section *asect, argument 44 aflag = bfd_get_section_flags (abfd, asect); 47 if (bfd_section_size (abfd, asect) == 0) 50 pp->end->the_bfd_section = asect; 51 pp->end->addr = bfd_section_vma (abfd, asect); 52 pp->end->endaddr = pp->end->addr + bfd_section_size (abfd, asect);
|
H A D | maint.c | 319 asection *asect, 322 flagword flags = bfd_get_section_flags (abfd, asect); 323 const char *name = bfd_section_name (abfd, asect); 331 addr = bfd_section_vma (abfd, asect); 332 endaddr = addr + bfd_section_size (abfd, asect); 333 maint_print_section_info (name, flags, addr, endaddr, asect->filepos); 339 struct obj_section *asect, 342 flagword flags = bfd_get_section_flags (abfd, asect->the_bfd_section); 343 const char *name = bfd_section_name (abfd, asect->the_bfd_section); 349 maint_print_section_info (name, flags, asect 318 print_bfd_section_info(bfd *abfd, asection *asect, void *arg) argument 338 print_objfile_section_info(bfd *abfd, struct obj_section *asect, char *string) argument [all...] |
H A D | exec.c | 338 add_to_section_table (bfd *abfd, struct bfd_section *asect, 344 aflag = bfd_get_section_flags (abfd, asect); 347 if (0 == bfd_section_size (abfd, asect)) 350 (*table_pp)->the_bfd_section = asect; 351 (*table_pp)->addr = bfd_section_vma (abfd, asect); 352 (*table_pp)->endaddr = (*table_pp)->addr + bfd_section_size (abfd, asect); 337 add_to_section_table(bfd *abfd, struct bfd_section *asect, void *table_pp_char) argument
|
H A D | corelow.c | 252 add_to_thread_list (bfd *abfd, asection *asect, void *reg_sect_arg) argument 257 if (strncmp (bfd_section_name (abfd, asect), ".reg/", 5) != 0) 260 thread_id = atoi (bfd_section_name (abfd, asect) + 5); 267 && asect->filepos == reg_sect->filepos) /* Did we find .reg? */
|
H A D | objfiles.c | 76 add_to_objfile_sections (struct bfd *abfd, struct bfd_section *asect, argument 83 aflag = bfd_get_section_flags (abfd, asect); 85 if (!(aflag & SEC_ALLOC) && !(TARGET_KEEP_SECTION (asect))) 88 if (0 == bfd_section_size (abfd, asect)) 92 section.the_bfd_section = asect; 94 section.addr = bfd_section_vma (abfd, asect); 95 section.endaddr = section.addr + bfd_section_size (abfd, asect);
|
H A D | xcoffread.c | 1706 find_linenos (struct bfd *abfd, struct bfd_section *asect, void *vpinfo) 1712 count = asect->lineno_count; 1714 if (!DEPRECATED_STREQ (asect->name, ".text") || count == 0) 1719 offset = asect->line_filepos; 1701 find_linenos(struct bfd *abfd, struct bfd_section *asect, void *vpinfo) argument
|
H A D | coffread.c | 475 find_linenos (bfd *abfd, struct bfd_section *asect, void *vpinfo) 482 count = asect->lineno_count; 491 offset = asect->line_filepos; 471 find_linenos(bfd *abfd, struct bfd_section *asect, void *vpinfo) argument
|
/freebsd-11-stable/gnu/usr.bin/gdb/kgdb/ |
H A D | kld.c | 204 struct bfd_section *asect = sec->the_bfd_section; local 214 bfd_get_section_alignment(abfd, asect)); 216 sec->endaddr = sec->addr + bfd_section_size(abfd, asect);
|
/freebsd-11-stable/gnu/usr.bin/gdb/libgdb/ |
H A D | fbsd-threads.c | 275 fbsd_core_get_first_lwp (bfd *abfd, asection *asect, void *obj) argument 277 if (strncmp (bfd_section_name (abfd, asect), ".reg/", 5) != 0) 283 *(lwpid_t *)obj = atoi (bfd_section_name (abfd, asect) + 5); 1090 fbsd_core_check_lwp (bfd *abfd, asection *asect, void *obj) argument 1094 if (strncmp (bfd_section_name (abfd, asect), ".reg/", 5) != 0) 1101 lwp = atoi (bfd_section_name (abfd, asect) + 5);
|