Home
last modified time | relevance | path

Searched refs:sym_sec (Results 1 – 25 of 69) sorted by relevance

123

/openbsd/src/gnu/usr.bin/binutils-2.17/gprof/
Dcorefile.c469 asection *sym_sec; in core_create_function_syms() local
504 sym_sec = core_syms[i]->section; in core_create_function_syms()
506 if (sym_sec) in core_create_function_syms()
507 symtab.limit->addr += bfd_get_section_vma (sym_sec->owner, sym_sec); in core_create_function_syms()
564 if (sym_sec) in core_create_function_syms()
565 max_vma = MAX (bfd_get_section_vma (sym_sec->owner, sym_sec) in core_create_function_syms()
566 + bfd_section_size (sym_sec->owner, sym_sec) - 1, in core_create_function_syms()
/openbsd/src/gnu/usr.bin/binutils/gprof/
Dcorefile.c459 asection *sym_sec; local
494 sym_sec = core_syms[i]->section;
496 if (sym_sec)
497 symtab.limit->addr += bfd_get_section_vma (sym_sec->owner, sym_sec);
554 if (sym_sec)
555 max_vma = MAX (bfd_get_section_vma (sym_sec->owner, sym_sec)
556 + bfd_section_size (sym_sec->owner, sym_sec) - 1,
/openbsd/src/gnu/usr.bin/binutils/bfd/
Delf32-hppa.c273 struct sym_sec_cache sym_sec; member
397 ret->sym_sec.abfd = NULL; in elf32_hppa_link_hash_table_create()
418 const asection *sym_sec, in hppa_stub_name() argument
445 sym_sec->id & 0xffffffff, in hppa_stub_name()
458 const asection *sym_sec, in hppa_get_stub_entry() argument
483 stub_name = hppa_stub_name (id_sec, sym_sec, hash, rel); in hppa_get_stub_entry()
1419 s = bfd_section_from_r_symndx (abfd, &htab->sym_sec, in elf32_hppa_check_relocs()
2706 asection *sym_sec; in elf32_hppa_size_stubs() local
2733 sym_sec = NULL; in elf32_hppa_size_stubs()
2745 sym_sec = hdr->bfd_section; in elf32_hppa_size_stubs()
[all …]
Delf32-v850.c1449 addend, info, sym_sec, is_local) in v850_elf_final_link_relocate() argument
1459 asection *sym_sec;
1504 if (sym_sec == NULL)
1507 value -= sym_sec->output_section->vma;
1517 if (sym_sec == NULL)
1530 value -= sym_sec->output_section->vma;
1531 value -= (gp - sym_sec->output_section->vma);
1582 if (sym_sec == NULL)
1595 value -= sym_sec->output_section->vma;
1596 value -= (ctbp - sym_sec->output_section->vma);
[all …]
Delf-hppa.h1342 asection *sym_sec; in elf_hppa_relocate_section() local
1362 sym_sec = NULL; in elf_hppa_relocate_section()
1367 sym_sec = local_sections[r_symndx]; in elf_hppa_relocate_section()
1368 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sym_sec, rel); in elf_hppa_relocate_section()
1391 sym_sec = h->root.u.def.section; in elf_hppa_relocate_section()
1403 if (sym_sec->output_section == NULL && dyn_h == NULL) in elf_hppa_relocate_section()
1411 else if (sym_sec->output_section) in elf_hppa_relocate_section()
1413 + sym_sec->output_offset in elf_hppa_relocate_section()
1414 + sym_sec->output_section->vma); in elf_hppa_relocate_section()
1483 sym_name = bfd_section_name (input_bfd, sym_sec); in elf_hppa_relocate_section()
[all …]
Delf32-ip2k.c326 asection *sym_sec; local
330 sym_sec = bfd_und_section_ptr;
332 sym_sec = bfd_abs_section_ptr;
334 sym_sec = bfd_com_section_ptr;
336 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
338 return isym->st_value + BASEADDR (sym_sec);
1111 asection *sym_sec; local
1115 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
1120 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value
1170 asection *sym_sec; local
[all …]
Delf32-m68hc11.c711 asection *sym_sec; in m68hc11_elf_relax_section() local
813 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section()
815 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
816 + sym_sec->output_offset); in m68hc11_elf_relax_section()
840 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section()
842 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
843 + sym_sec->output_offset); in m68hc11_elf_relax_section()
878 if (*again && sym_sec != sec in m68hc11_elf_relax_section()
879 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
Delf-m10300.c1048 addend, h, symndx, info, sym_sec, is_local) in mn10300_elf_final_link_relocate() argument
1060 asection *sym_sec ATTRIBUTE_UNUSED;
1852 asection *sym_sec = NULL; local
1912 sym_sec = NULL;
1923 sym_sec = bfd_und_section_ptr;
1925 sym_sec = bfd_abs_section_ptr;
1927 sym_sec = bfd_com_section_ptr;
1929 sym_sec
1952 sym_name, (int) sym_sec);
2015 sym_sec = bfd_und_section_ptr;
[all …]
Delf-m10200.c230 addend, info, sym_sec, is_local) in mn10200_elf_final_link_relocate() argument
240 asection *sym_sec ATTRIBUTE_UNUSED;
571 asection *sym_sec; local
575 sym_sec = bfd_und_section_ptr;
577 sym_sec = bfd_abs_section_ptr;
579 sym_sec = bfd_com_section_ptr;
581 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
583 + sym_sec->output_section->vma
584 + sym_sec->output_offset);
Delf64-ppc.c2869 struct sym_sec_cache sym_sec; member
3058 const asection *sym_sec, in ppc_stub_name() argument
3090 sym_sec->id & 0xffffffff, in ppc_stub_name()
3103 const asection *sym_sec, in ppc_get_stub_entry() argument
3129 stub_name = ppc_stub_name (id_sec, sym_sec, h, rel); in ppc_get_stub_entry()
3938 s = bfd_section_from_r_symndx (abfd, &htab->sym_sec, sec, in ppc64_elf_check_relocs()
4073 s = bfd_section_from_r_symndx (abfd, &htab->sym_sec, in ppc64_elf_check_relocs()
4917 asection *sym_sec; in adjust_opd_syms() local
4934 sym_sec = eh->elf.root.u.def.section; in adjust_opd_syms()
4935 if (sym_sec != NULL in adjust_opd_syms()
[all …]
Delf32-arm.h260 struct sym_sec_cache sym_sec; member
433 ret->sym_sec.abfd = NULL;
1019 hit_data, sym_sec, offset, addend, val) in elf32_thumb_to_arm_stub() argument
1026 asection * sym_sec;
1058 if (sym_sec != NULL
1059 && sym_sec->owner != NULL
1060 && !INTERWORK_FLAG (sym_sec->owner))
1064 bfd_archive_filename (sym_sec->owner), name);
1128 hit_data, sym_sec, offset, addend, val) in elf32_arm_to_thumb_stub() argument
1135 asection * sym_sec;
[all …]
Delf32-h8300.c316 asection *sym_sec ATTRIBUTE_UNUSED, in elf32_h8_final_link_relocate()
755 asection *sym_sec; in elf32_h8_relax_section() local
758 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_h8_relax_section()
762 if (sym_sec) in elf32_h8_relax_section()
763 symval += sym_sec->output_section->vma in elf32_h8_relax_section()
764 + sym_sec->output_offset; in elf32_h8_relax_section()
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Delf32-hppa.c294 struct sym_sec_cache sym_sec; member
426 htab->sym_sec.abfd = NULL; in elf32_hppa_link_hash_table_create()
447 const asection *sym_sec, in hppa_stub_name() argument
474 sym_sec->id & 0xffffffff, in hppa_stub_name()
487 const asection *sym_sec, in hppa_get_stub_entry() argument
512 stub_name = hppa_stub_name (id_sec, sym_sec, hh, rela); in hppa_get_stub_entry()
1452 sr = bfd_section_from_r_symndx (abfd, &htab->sym_sec, in elf32_hppa_check_relocs()
2831 asection *sym_sec; in elf32_hppa_size_stubs() local
2858 sym_sec = NULL; in elf32_hppa_size_stubs()
2870 sym_sec = hdr->bfd_section; in elf32_hppa_size_stubs()
[all …]
Delf32-v850.c1393 asection *sym_sec, in v850_elf_final_link_relocate() argument
1439 if (sym_sec == NULL) in v850_elf_final_link_relocate()
1442 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
1452 if (sym_sec == NULL) in v850_elf_final_link_relocate()
1465 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
1466 value -= (gp - sym_sec->output_section->vma); in v850_elf_final_link_relocate()
1517 if (sym_sec == NULL) in v850_elf_final_link_relocate()
1530 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
1531 value -= (ctbp - sym_sec->output_section->vma); in v850_elf_final_link_relocate()
2654 asection *sym_sec; in v850_elf_relax_section() local
[all …]
Delf-hppa.h1350 asection *sym_sec; in elf_hppa_relocate_section() local
1369 sym_sec = NULL; in elf_hppa_relocate_section()
1374 sym_sec = local_sections[r_symndx]; in elf_hppa_relocate_section()
1375 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sym_sec, rel); in elf_hppa_relocate_section()
1398 sym_sec = h->root.u.def.section; in elf_hppa_relocate_section()
1410 if (sym_sec->output_section == NULL && dyn_h == NULL) in elf_hppa_relocate_section()
1421 else if (sym_sec->output_section) in elf_hppa_relocate_section()
1423 + sym_sec->output_offset in elf_hppa_relocate_section()
1424 + sym_sec->output_section->vma); in elf_hppa_relocate_section()
1483 relocation, info, sym_sec, in elf_hppa_relocate_section()
[all …]
Delf32-ip2k.c268 asection *sym_sec; in symbol_value() local
272 sym_sec = bfd_und_section_ptr; in symbol_value()
274 sym_sec = bfd_abs_section_ptr; in symbol_value()
276 sym_sec = bfd_com_section_ptr; in symbol_value()
278 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in symbol_value()
280 return isym->st_value + BASEADDR (sym_sec); in symbol_value()
589 asection *sym_sec; in adjust_all_relocations() local
593 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in adjust_all_relocations()
598 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations()
648 asection *sym_sec; in adjust_all_relocations() local
[all …]
Delf32-avr.c1139 asection *sym_sec; in elf32_avr_relax_delete_bytes() local
1142 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_delete_bytes()
1146 if (sym_sec) in elf32_avr_relax_delete_bytes()
1148 symval += sym_sec->output_section->vma in elf32_avr_relax_delete_bytes()
1149 + sym_sec->output_offset; in elf32_avr_relax_delete_bytes()
1328 asection *sym_sec; in elf32_avr_relax_section() local
1331 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_section()
1335 if (sym_sec) in elf32_avr_relax_section()
1336 symval += sym_sec->output_section->vma in elf32_avr_relax_section()
1337 + sym_sec->output_offset; in elf32_avr_relax_section()
[all …]
Delf32-m68hc11.c707 asection *sym_sec; in m68hc11_elf_relax_section() local
803 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section()
805 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
806 + sym_sec->output_offset); in m68hc11_elf_relax_section()
830 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section()
832 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
833 + sym_sec->output_offset); in m68hc11_elf_relax_section()
868 if (*again && sym_sec != sec in m68hc11_elf_relax_section()
869 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
Delf-m10300.c962 addend, h, symndx, info, sym_sec, is_local) in mn10300_elf_final_link_relocate() argument
974 asection *sym_sec ATTRIBUTE_UNUSED;
1695 asection *sym_sec = NULL; local
1750 sym_sec = NULL;
1761 sym_sec = bfd_und_section_ptr;
1763 sym_sec = bfd_abs_section_ptr;
1765 sym_sec = bfd_com_section_ptr;
1767 sym_sec
1789 sprintf (new_name, "%s_%08x", sym_name, sym_sec->id);
1873 sym_sec = bfd_und_section_ptr;
[all …]
Delf64-ppc.c3422 struct sym_sec_cache sym_sec; member
3619 const asection *sym_sec, in ppc_stub_name() argument
3652 sym_sec->id & 0xffffffff, in ppc_stub_name()
3666 const asection *sym_sec, in ppc_get_stub_entry() argument
3691 stub_name = ppc_stub_name (id_sec, sym_sec, h, rel); in ppc_get_stub_entry()
4613 dest = bfd_section_from_r_symndx (abfd, &htab->sym_sec, in ppc64_elf_check_relocs()
4741 s = bfd_section_from_r_symndx (abfd, &htab->sym_sec, sec, in ppc64_elf_check_relocs()
4877 s = bfd_section_from_r_symndx (abfd, &htab->sym_sec, in ppc64_elf_check_relocs()
6134 asection *sym_sec; in adjust_opd_syms() local
6151 sym_sec = eh->elf.root.u.def.section; in adjust_opd_syms()
[all …]
Delf-m10200.c230 addend, info, sym_sec, is_local) in mn10200_elf_final_link_relocate() argument
240 asection *sym_sec ATTRIBUTE_UNUSED;
562 asection *sym_sec; local
566 sym_sec = bfd_und_section_ptr;
568 sym_sec = bfd_abs_section_ptr;
570 sym_sec = bfd_com_section_ptr;
572 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
574 + sym_sec->output_section->vma
575 + sym_sec->output_offset);
Delf32-msp430.c1012 asection *sym_sec; in msp430_elf_relax_section() local
1016 sym_sec = bfd_und_section_ptr; in msp430_elf_relax_section()
1018 sym_sec = bfd_abs_section_ptr; in msp430_elf_relax_section()
1020 sym_sec = bfd_com_section_ptr; in msp430_elf_relax_section()
1022 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in msp430_elf_relax_section()
1024 + sym_sec->output_section->vma + sym_sec->output_offset); in msp430_elf_relax_section()
Delf32-crx.c1023 asection *sym_sec; in elf32_crx_relax_section() local
1027 sym_sec = bfd_und_section_ptr; in elf32_crx_relax_section()
1029 sym_sec = bfd_abs_section_ptr; in elf32_crx_relax_section()
1031 sym_sec = bfd_com_section_ptr; in elf32_crx_relax_section()
1033 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_crx_relax_section()
1035 + sym_sec->output_section->vma in elf32_crx_relax_section()
1036 + sym_sec->output_offset); in elf32_crx_relax_section()
Delf32-h8300.c316 asection *sym_sec ATTRIBUTE_UNUSED, in elf32_h8_final_link_relocate()
746 asection *sym_sec; in elf32_h8_relax_section() local
749 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_h8_relax_section()
753 if (sym_sec) in elf32_h8_relax_section()
754 symval += sym_sec->output_section->vma in elf32_h8_relax_section()
755 + sym_sec->output_offset; in elf32_h8_relax_section()
Delfxx-sparc.h62 struct sym_sec_cache sym_sec; member

123