/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elfxx-mips.c | 214 #define mips_elf_section_data(sec) \ 215 ((struct _mips_elf_section_data *) elf_section_data (sec)) 543 #define MIPS_ELF_READONLY_SECTION(sec) \ 544 ((sec->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY)) \ 604 #define MIPS_RELOC_RELA_P(abfd, sec, rel_idx) \ 605 ((NUM_SHDR_ENTRIES (&elf_section_data (sec)->rel_hdr) \ 608 == (elf_section_data (sec)->rel_hdr.sh_entsize \ 848 _bfd_mips_elf_new_section_hook (bfd *abfd, asection *sec) 856 sec->used_by_bfd = sdata; 858 return _bfd_elf_new_section_hook (abfd, sec); 843 _bfd_mips_elf_new_section_hook(bfd *abfd, asection *sec) argument 1745 asection *sec, *output_section; local 3880 asection *sec = NULL; local 4728 mips_elf_create_dynamic_relocation(bfd *output_bfd, struct bfd_link_info *info, const Elf_Internal_Rela *rel, struct mips_elf_link_hash_entry *h, asection *sec, bfd_vma symbol, bfd_vma *addendp, asection *input_section) argument 5204 _bfd_mips_elf_eh_frame_address_size(bfd *abfd, asection *sec) argument 5563 _bfd_mips_elf_fake_sections(bfd *abfd, Elf_Internal_Shdr *hdr, asection *sec) argument 5693 _bfd_mips_elf_section_from_bfd_section(bfd *abfd ATTRIBUTE_UNUSED, asection *sec, int *retval) argument 6105 _bfd_mips_elf_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 6672 _bfd_mips_relax_section(bfd *abfd, asection *sec, struct bfd_link_info *link_info, bfd_boolean *again) argument 7635 asection *sec; local 9107 asection *sec; local 9423 _bfd_mips_elf_gc_mark_hook(asection *sec, struct bfd_link_info *info ATTRIBUTE_UNUSED, Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) argument 9669 _bfd_mips_elf_ignore_discarded_relocs(asection *sec) argument 9677 _bfd_mips_elf_write_section(bfd *output_bfd, asection *sec, bfd_byte *contents) argument 10865 asection *sec; local [all...] |
H A D | bfd.c | 496 asection *sec = va_arg (ap, asection *); 497 bfd *abfd = sec->owner; 503 && elf_next_in_group (sec) != NULL 504 && (sec->flags & SEC_GROUP) == 0) 505 group = elf_group_name (sec); 508 && (ci = bfd_coff_get_comdat_section (sec->owner, 509 sec)) != NULL) 512 snprintf (bufp, avail, "%s[%s]", sec->name, group); 514 snprintf (bufp, avail, "%s", sec->name); 675 (bfd *abfd, asection *sec, arelen 494 asection *sec = va_arg (ap, asection *); local [all...] |
H A D | srec.c | 302 asection *sec = NULL; local 313 sec = NULL; 497 sec = NULL; 517 if (sec != NULL 518 && sec->vma + sec->size == address) 522 sec->size += bytes; 530 sprintf (secbuf, ".sec%d", bfd_count_sections (abfd) + 1); 534 sec = bfd_make_section (abfd, secname); 535 if (sec [all...] |
H A D | coff-m68k.c | 222 m68kcoff_rtype_to_howto (abfd, sec, rel, h, sym, addendp) 224 asection *sec; 238 *addendp += sec->vma; 383 m68kcoff_common_addend_rtype_to_howto (abfd, sec, rel, h, sym, addendp) 385 asection *sec; 399 *addendp += sec->vma;
|
H A D | nlm32-sparc.c | 136 nlm_sparc_write_reloc (bfd * abfd, asection * sec, arelent * rel) argument 176 val = bfd_get_section_vma (abfd, sec) + rel->address; 197 asection *sec ATTRIBUTE_UNUSED, 262 nlm_sparc_write_import (bfd * abfd, asection * sec, arelent * rel) argument 292 if (! nlm_sparc_write_reloc (abfd, sec, rel)) 320 if (! nlm_sparc_write_reloc (abfd, relocs[i].sec, relocs[i].rel))
|
H A D | elf64-mips.c | 2310 mips_elf64_get_reloc_upper_bound (bfd *abfd ATTRIBUTE_UNUSED, asection *sec) 2312 return (sec->reloc_count * 3 + 1) * sizeof (arelent *); 2638 mips_elf64_write_relocs (bfd *abfd, asection *sec, void *data) 2649 if ((sec->flags & SEC_RELOC) == 0) 2656 if (sec->reloc_count == 0) 2662 for (idx = 0; idx < sec->reloc_count; idx++) 2669 addr = sec->orelocation[idx]->address; 2674 if (idx + 1 >= sec->reloc_count) 2676 r = sec->orelocation[idx + 1]; 2688 rel_hdr = &elf_section_data (sec) 2305 mips_elf64_get_reloc_upper_bound(bfd *abfd ATTRIBUTE_UNUSED, asection *sec) argument 2633 mips_elf64_write_relocs(bfd *abfd, asection *sec, void *data) argument 2696 mips_elf64_write_rel(bfd *abfd, asection *sec, Elf_Internal_Shdr *rel_hdr, int *count, void *data) argument 2794 mips_elf64_write_rela(bfd *abfd, asection *sec, Elf_Internal_Shdr *rela_hdr, int *count, void *data) argument [all...] |
H A D | elf64-x86-64.c | 382 asection *sec; 637 if (q->sec == p->sec) 723 elf64_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec, 742 rel_end = relocs + sec->reloc_count; 936 && (sec->flags & SEC_ALLOC) != 0 937 && (sec->flags & SEC_READONLY) != 0) 993 && (sec->flags & SEC_ALLOC) != 0 1004 && (sec->flags & SEC_ALLOC) != 0 1023 elf_section_data (sec) 380 asection *sec; member in struct:elf64_x86_64_dyn_relocs 721 elf64_x86_64_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1133 elf64_x86_64_gc_mark_hook(asection *sec, struct bfd_link_info *info ATTRIBUTE_UNUSED, Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) argument 1171 elf64_x86_64_gc_sweep_hook(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 2098 asection *sec; local 3493 elf64_x86_64_elf_section_from_bfd_section(bfd *abfd ATTRIBUTE_UNUSED, asection *sec, int *index) argument 3531 elf64_x86_64_common_section_index(asection *sec) argument 3540 elf64_x86_64_common_section(asection *sec) argument 3549 elf64_x86_64_merge_symbol(struct bfd_link_info *info ATTRIBUTE_UNUSED, struct elf_link_hash_entry **sym_hash ATTRIBUTE_UNUSED, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym, asection **psec, bfd_vma *pvalue ATTRIBUTE_UNUSED, unsigned int *pold_alignment ATTRIBUTE_UNUSED, bfd_boolean *skip ATTRIBUTE_UNUSED, bfd_boolean *override ATTRIBUTE_UNUSED, bfd_boolean *type_change_ok ATTRIBUTE_UNUSED, bfd_boolean *size_change_ok ATTRIBUTE_UNUSED, bfd_boolean *newdef ATTRIBUTE_UNUSED, bfd_boolean *newdyn, bfd_boolean *newdyncommon ATTRIBUTE_UNUSED, bfd_boolean *newweak ATTRIBUTE_UNUSED, bfd *abfd ATTRIBUTE_UNUSED, asection **sec, bfd_boolean *olddef ATTRIBUTE_UNUSED, bfd_boolean *olddyn, bfd_boolean *olddyncommon ATTRIBUTE_UNUSED, bfd_boolean *oldweak ATTRIBUTE_UNUSED, bfd *oldbfd, asection **oldsec) argument [all...] |
H A D | coff-h8300.c | 1258 asection *sec; local 1312 for (sec = abfd->sections; sec; sec = sec->next) 1319 reloc_size = bfd_get_reloc_upper_bound (abfd, sec); 1331 reloc_count = bfd_canonicalize_reloc (abfd, sec, relocs, symbols); 1411 sec = htab->vectors_sec; 1412 if (sec->size != 0) 1415 if (sec [all...] |
H A D | elf32-vax.c | 550 elf_vax_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec, 573 rel_end = relocs + sec->reloc_count; 692 && (sec->flags & SEC_ALLOC) != 0 726 && (sec->flags & SEC_ALLOC) != 0) 738 elf_section_data (sec)->rel_hdr.sh_name)); 743 && strcmp (bfd_get_section_name (abfd, sec), 761 if (sec->flags & SEC_READONLY) 809 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset)) 816 if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend)) 832 elf_vax_gc_mark_hook (asection *sec, 549 elf_vax_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 831 elf_vax_gc_mark_hook(asection *sec, struct bfd_link_info *info ATTRIBUTE_UNUSED, Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) argument 869 elf_vax_gc_sweep_hook(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1427 asection *sec; local [all...] |
/openbsd-current/gnu/usr.bin/binutils/bfd/ |
H A D | elf32-vax.c | 567 elf_vax_check_relocs (abfd, info, sec, relocs) 570 asection *sec; 593 rel_end = relocs + sec->reloc_count; 707 && (sec->flags & SEC_ALLOC) != 0 742 && (sec->flags & SEC_ALLOC) != 0) 754 elf_section_data (sec)->rel_hdr.sh_name)); 759 && strcmp (bfd_get_section_name (abfd, sec), 777 if (sec->flags & SEC_READONLY) 825 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset)) 832 if (!bfd_elf_gc_record_vtentry (abfd, sec, 1469 asection *sec; local [all...] |
H A D | vms.c | 351 asection *sec; 355 sec = sym->section; 358 vms_debug (6, "fill_section_ptr: sym %p, sec %p\n", sym, sec); 363 if ((unsigned int) sec < priv_section_count) 365 sec = ((vms_symbol_entry *)entry)->symbol->section = 366 ((asection **)sections)[(int)sec]; 369 if (strcmp (sym->name, sec->name) == 0) 1171 asection *sec; 1177 sec 349 asection *sec; local 1169 asection *sec; local [all...] |
H A D | srec.c | 350 asection *sec = NULL; local 361 sec = NULL; 546 sec = NULL; 566 if (sec != NULL 567 && sec->vma + sec->_raw_size == address) 571 sec->_raw_size += bytes; 579 sprintf (secbuf, ".sec%d", bfd_count_sections (abfd) + 1); 583 sec = bfd_make_section (abfd, secname); 584 if (sec [all...] |
H A D | elf32-sparc.c | 576 asection *sec; 811 if (q->sec == p->sec) 883 elf32_sparc_check_relocs (abfd, info, sec, relocs) 886 asection *sec; 908 rel_end = relocs + sec->reloc_count; 1173 && (sec->flags & SEC_ALLOC) != 0 1181 && (sec->flags & SEC_ALLOC) != 0 1201 elf_section_data (sec)->rel_hdr.sh_name)); 1206 && strcmp (bfd_get_section_name (abfd, sec), 572 asection *sec; member in struct:elf32_sparc_dyn_relocs 2172 asection *sec; local 3147 asection *sec = h->root.u.def.section; local [all...] |
H A D | coff-m68k.c | 222 m68kcoff_rtype_to_howto (abfd, sec, rel, h, sym, addendp) 224 asection *sec; 238 *addendp += sec->vma; 383 m68kcoff_common_addend_rtype_to_howto (abfd, sec, rel, h, sym, addendp) 385 asection *sec; 399 *addendp += sec->vma;
|
H A D | elf64-mips.c | 1929 mips_elf64_get_reloc_upper_bound (bfd *abfd ATTRIBUTE_UNUSED, asection *sec) 1931 return (sec->reloc_count * 3 + 1) * sizeof (arelent *); 2257 mips_elf64_write_relocs (bfd *abfd, asection *sec, void *data) 2268 if ((sec->flags & SEC_RELOC) == 0) 2275 if (sec->reloc_count == 0) 2281 for (idx = 0; idx < sec->reloc_count; idx++) 2288 addr = sec->orelocation[idx]->address; 2293 if (idx + 1 >= sec->reloc_count) 2295 r = sec->orelocation[idx + 1]; 2307 rel_hdr = &elf_section_data (sec) 1924 mips_elf64_get_reloc_upper_bound(bfd *abfd ATTRIBUTE_UNUSED, asection *sec) argument 2252 mips_elf64_write_relocs(bfd *abfd, asection *sec, void *data) argument 2315 mips_elf64_write_rel(bfd *abfd, asection *sec, Elf_Internal_Shdr *rel_hdr, int *count, void *data) argument 2411 mips_elf64_write_rela(bfd *abfd, asection *sec, Elf_Internal_Shdr *rela_hdr, int *count, void *data) argument [all...] |
H A D | elf64-sparc.c | 55 PARAMS ((bfd *, struct bfd_link_info *, asection *sec, 325 #define sec_do_relax(sec) \ 326 ((struct sparc64_elf_section_data *) elf_section_data (sec))->do_relax 327 #define canon_reloc_count(sec) \ 328 ((struct sparc64_elf_section_data *) elf_section_data (sec))->reloc_count 335 sparc64_elf_get_reloc_upper_bound (abfd, sec) 337 asection *sec; 339 return (sec->reloc_count * 2 + 1) * sizeof (arelent *); 590 sparc64_elf_write_relocs (abfd, sec, data) 592 asection *sec; 2047 asection *sec; local 2783 asection *sec = h->root.u.def.section; local [all...] |
H A D | linker.c | 749 _bfd_generic_link_just_syms (asection *sec, 752 sec->output_section = bfd_abs_section_ptr; 753 sec->output_offset = sec->vma; 2131 asection *sec; 2133 for (sec = input_bfd->sections; sec != NULL; sec = sec->next) 2135 if (sec 747 _bfd_generic_link_just_syms(asection *sec, struct bfd_link_info *info ATTRIBUTE_UNUSED) argument 2125 asection *sec; local 2457 _bfd_generic_reloc_link_order(bfd *abfd, struct bfd_link_info *info, asection *sec, struct bfd_link_order *link_order) argument 2587 _bfd_default_link_order(bfd *abfd, struct bfd_link_info *info, asection *sec, struct bfd_link_order *link_order) argument 2610 default_data_link_order(bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED, asection *sec, struct bfd_link_order *link_order) argument [all...] |
H A D | elf32-hppa.c | 201 asection *sec; member in struct:elf32_hppa_link_hash_entry::elf32_hppa_dyn_reloc_entry 993 if (q->sec == p->sec) 1035 asection *sec, 1055 rel_end = relocs + sec->reloc_count; 1202 if (!bfd_elf_gc_record_vtinherit (abfd, sec, &h->elf, rel->r_offset)) 1209 if (!bfd_elf_gc_record_vtentry (abfd, sec, &h->elf, rel->r_addend)) 1269 if ((sec->flags & SEC_ALLOC) != 0) 1345 && (sec->flags & SEC_ALLOC) != 0 1354 && (sec 1033 elf32_hppa_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1459 elf32_hppa_gc_mark_hook(asection *sec, struct bfd_link_info *info ATTRIBUTE_UNUSED, Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) argument 1498 elf32_hppa_gc_sweep_hook(bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED, asection *sec, const Elf_Internal_Rela *relocs) argument 2549 asection *sec; local 2882 asection *sec = NULL; local [all...] |
H A D | coff-h8300.c | 1262 asection *sec; local 1315 for (sec = abfd->sections; sec; sec = sec->next) 1322 reloc_size = bfd_get_reloc_upper_bound (abfd, sec); 1334 reloc_count = bfd_canonicalize_reloc (abfd, sec, relocs, symbols); 1416 sec = htab->vectors_sec; 1417 if (sec->_raw_size != 0) 1420 if (sec [all...] |
H A D | elf64-sh64.c | 1516 asection *sec; local 1552 sec = NULL; 1556 sec = local_sections[r_symndx]; 1557 relocation = ((sec->output_section->vma 1558 + sec->output_offset 1585 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel); 1588 else if ((sec->flags & SEC_MERGE) 1604 msec = sec; 1637 sec = h->root.u.def.section; 1640 sec 2429 sh_elf64_gc_mark_hook(asection *sec, struct bfd_link_info *info ATTRIBUTE_UNUSED, Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) argument 2484 sh_elf64_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 3320 asection *sec; local [all...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | pa64solib.c | 223 asection *sec; local 249 sec = bfd_get_section_by_name (tmp_bfd, ".text"); 250 text_addr += bfd_section_vma (tmp_bfd, sec); 253 sec = NULL; 254 bfd_map_over_sections (tmp_bfd, find_lowest_section, &sec); 256 if (sec) 259 text_addr -= bfd_section_vma (tmp_bfd, sec); 262 text_addr += sec->filepos; 307 asection *sec; local
|
H A D | solib-aix5.c | 822 struct section_table *sec) 824 int flags = bfd_get_section_flags (sec->bfd, sec->the_bfd_section); 825 file_ptr filepos = sec->the_bfd_section->filepos; 843 bfd_get_section_name (sec->bfd, sec->the_bfd_section)); 847 sec->addr += addr; 848 sec->endaddr += addr; 821 aix5_relocate_section_addresses(struct so_list *so, struct section_table *sec) argument
|
/openbsd-current/gnu/usr.bin/binutils/gas/config/ |
H A D | tc-frv.c | 1276 md_convert_frag (abfd, sec, fragP) 1278 segT sec ATTRIBUTE_UNUSED; 1301 md_pcrel_from_section (fixP, sec) 1303 segT sec; 1307 && S_GET_SEGMENT (fixP->fx_addsy) != sec)) 1595 frv_frob_file_section (abfd, sec, ptr) 1597 asection *sec; 1600 segment_info_type *seginfo = seg_info (sec); 1603 flagword flags = bfd_get_section_flags (abfd, sec); 1607 int known_section_p = (sec [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/gas/config/ |
H A D | tc-frv.c | 1326 md_convert_frag (abfd, sec, fragP) 1328 segT sec ATTRIBUTE_UNUSED; 1351 md_pcrel_from_section (fixP, sec) 1353 segT sec; 1357 && S_GET_SEGMENT (fixP->fx_addsy) != sec)) 1755 frv_frob_file_section (abfd, sec, ptr) 1757 asection *sec; 1760 segment_info_type *seginfo = seg_info (sec); 1763 flagword flags = bfd_get_section_flags (abfd, sec); 1767 int known_section_p = (sec [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | objdump.c | 123 asection * sec; member in struct:objdump_disasm_info 692 asection *sec; 700 sec = aux->sec; 740 if (sorted_syms[thisplace]->section != sec 743 && vma >= bfd_get_section_vma (abfd, sec) 744 && vma < (bfd_get_section_vma (abfd, sec) 745 + bfd_section_size (abfd, sec) / opb)))) 760 if (sorted_syms[i]->section == sec 762 || sorted_syms[i - 1]->section != sec 688 asection *sec; local 809 objdump_print_addr_with_sym(bfd *abfd, asection *sec, asymbol *sym, bfd_vma vma, struct disassemble_info *info, bfd_boolean skip_zeroes) argument 1961 asection *sec; local 2028 struct dwarf_section *sec = &debug_displays [i].section; local 2533 dump_reloc_set(bfd *abfd, asection *sec, arelent **relpp, long relcount) argument [all...] |