Home
last modified time | relevance | path

Searched refs:symsec (Results 1 – 16 of 16) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Delf64-mmix.c1571 const char *symname, asection *symsec, in mmix_final_link_relocate() argument
1603 if (symsec == NULL) in mmix_final_link_relocate()
1607 if (strcmp (bfd_get_section_name (symsec->owner, symsec), in mmix_final_link_relocate()
1609 || strcmp (bfd_get_section_name (symsec->owner, symsec), in mmix_final_link_relocate()
1618 bfd_get_section_name (symsec->owner, symsec)); in mmix_final_link_relocate()
1623 bfd_get_section_name (symsec->owner, symsec)); in mmix_final_link_relocate()
1637 if (symsec == NULL) in mmix_final_link_relocate()
1640 if (strcmp (bfd_get_section_name (symsec->owner, symsec), in mmix_final_link_relocate()
1651 else if (strcmp (bfd_get_section_name (symsec->owner, symsec), in mmix_final_link_relocate()
1667 bfd_get_section_name (symsec->owner, symsec)); in mmix_final_link_relocate()
[all …]
Dnlm32-sparc.c265 asection *code, *data, *bss, *symsec; in nlm_sparc_write_import() local
271 symsec = (*rel->sym_ptr_ptr)->section; in nlm_sparc_write_import()
273 if (symsec == code) in nlm_sparc_write_import()
275 else if (symsec == data) in nlm_sparc_write_import()
277 else if (symsec == bss) in nlm_sparc_write_import()
Dnlm32-ppc.c737 asection *symsec; in nlm_powerpc_write_reloc() local
750 symsec = bfd_get_section (sym); in nlm_powerpc_write_reloc()
753 BFD_ASSERT (bfd_is_und_section (symsec)); in nlm_powerpc_write_reloc()
758 if (symsec == code_sec) in nlm_powerpc_write_reloc()
760 else if (symsec == data_sec) in nlm_powerpc_write_reloc()
762 else if (symsec == bss_sec) in nlm_powerpc_write_reloc()
Dpdp11.c4048 asection *symsec; in aout_link_write_symbols() local
4157 symsec = obj_textsec (input_bfd); in aout_link_write_symbols()
4160 symsec = obj_datasec (input_bfd); in aout_link_write_symbols()
4163 symsec = obj_bsssec (input_bfd); in aout_link_write_symbols()
4166 symsec = bfd_abs_section_ptr; in aout_link_write_symbols()
4181 symsec = NULL; in aout_link_write_symbols()
4186 symsec = NULL; in aout_link_write_symbols()
4197 symsec = NULL; in aout_link_write_symbols()
4207 symsec = obj_textsec (input_bfd); in aout_link_write_symbols()
4210 symsec = obj_datasec (input_bfd); in aout_link_write_symbols()
[all …]
Daoutx.h4837 asection *symsec; in aout_link_write_symbols() local
4946 symsec = obj_textsec (input_bfd); in aout_link_write_symbols()
4949 symsec = obj_datasec (input_bfd); in aout_link_write_symbols()
4952 symsec = obj_bsssec (input_bfd); in aout_link_write_symbols()
4955 symsec = bfd_abs_section_ptr; in aout_link_write_symbols()
4970 symsec = NULL; in aout_link_write_symbols()
4975 symsec = NULL; in aout_link_write_symbols()
4986 symsec = NULL; in aout_link_write_symbols()
4996 symsec = obj_textsec (input_bfd); in aout_link_write_symbols()
4999 symsec = obj_datasec (input_bfd); in aout_link_write_symbols()
[all …]
Delf32-spu.c511 asection *symsec = NULL; in get_sym_h() local
514 symsec = h->root.u.def.section; in get_sym_h()
515 *symsecp = symsec; in get_sym_h()
Delf64-ppc.c7217 asection *symsec = NULL; in get_sym_h() local
7220 symsec = h->root.u.def.section; in get_sym_h()
7221 *symsecp = symsec; in get_sym_h()
DChangeLog-20071789 symsec != NULL tests.
/toolchain/binutils/binutils-2.25/gas/
Dwrite.c728 asection *symsec = S_GET_SEGMENT (sym); in resolve_reloc_expr_symbols() local
729 if (!(((symsec->flags & SEC_MERGE) != 0 in resolve_reloc_expr_symbols()
731 || (symsec->flags & SEC_THREAD_LOCAL) != 0)) in resolve_reloc_expr_symbols()
734 sym = section_symbol (symsec); in resolve_reloc_expr_symbols()
779 asection *symsec; in adjust_reloc_syms() local
835 symsec = S_GET_SEGMENT (sym); in adjust_reloc_syms()
836 if (symsec == NULL) in adjust_reloc_syms()
839 if (bfd_is_abs_section (symsec) in adjust_reloc_syms()
840 || symsec == reg_section) in adjust_reloc_syms()
851 if (symsec != sec && ! S_IS_LOCAL (sym)) in adjust_reloc_syms()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-score7.c5169 asection *symsec; in s7_pic_need_relax() local
5185 symsec = S_GET_SEGMENT (sym); in s7_pic_need_relax()
5189 if (symsec != segtype && ! S_IS_LOCAL (sym)) in s7_pic_need_relax()
5191 if ((bfd_get_section_flags (stdoutput, symsec) & SEC_LINK_ONCE) != 0) in s7_pic_need_relax()
5197 if (strncmp (segment_name (symsec), ".gnu.linkonce", in s7_pic_need_relax()
5203 return (!bfd_is_und_section (symsec) in s7_pic_need_relax()
5204 && !bfd_is_abs_section (symsec) in s7_pic_need_relax()
5205 && !bfd_is_com_section (symsec) in s7_pic_need_relax()
Dtc-mmix.c2426 segT symsec in md_apply_fix() local
2436 || (fixP->fx_pcrel && symsec != segment) in md_apply_fix()
2438 && symsec != absolute_section in md_apply_fix()
2441 || symsec != reg_section)))) in md_apply_fix()
Dtc-score.c5285 asection *symsec; in s3_pic_need_relax() local
5301 symsec = S_GET_SEGMENT (sym); in s3_pic_need_relax()
5305 if (symsec != segtype && ! S_IS_LOCAL (sym)) in s3_pic_need_relax()
5307 if ((bfd_get_section_flags (stdoutput, symsec) & SEC_LINK_ONCE) != 0) in s3_pic_need_relax()
5313 if (strncmp (segment_name (symsec), ".gnu.linkonce", in s3_pic_need_relax()
5319 return (!bfd_is_und_section (symsec) in s3_pic_need_relax()
5320 && !bfd_is_abs_section (symsec) in s3_pic_need_relax()
5321 && !bfd_is_com_section (symsec) in s3_pic_need_relax()
Dtc-mips.c16723 asection *symsec; in pic_need_relax() local
16740 symsec = S_GET_SEGMENT (sym); in pic_need_relax()
16743 return (!bfd_is_und_section (symsec) in pic_need_relax()
16744 && !bfd_is_abs_section (symsec) in pic_need_relax()
16745 && !bfd_is_com_section (symsec) in pic_need_relax()
16761 segT symsec; in mips16_extended_frag() local
16774 symsec = S_GET_SEGMENT (fragp->fr_symbol); in mips16_extended_frag()
16797 if (symsec != sec) in mips16_extended_frag()
16913 else if (symsec != absolute_section && sec != NULL) in mips16_extended_frag()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c6149 Elf_Internal_Shdr * symsec; in process_relocs() local
6155 symsec = section_headers + section->sh_link; in process_relocs()
6156 if (symsec->sh_type != SHT_SYMTAB in process_relocs()
6157 && symsec->sh_type != SHT_DYNSYM) in process_relocs()
6160 symtab = GET_ELF_SYMBOLS (file, symsec, & nsyms); in process_relocs()
6165 if (symsec->sh_link != 0 in process_relocs()
6166 && symsec->sh_link < elf_header.e_shnum) in process_relocs()
6168 strsec = section_headers + symsec->sh_link; in process_relocs()
11143 Elf_Internal_Shdr * symsec; in apply_relocations() local
11174 symsec = section_headers + relsec->sh_link; in apply_relocations()
[all …]
DChangeLog-2005536 (process_relocs): Don't crash if symsec is not SHT_SYMTAB
DChangeLog-0001731 (process_relocs): Don't bomb if reloc section has no symsec.