Home
last modified time | relevance | path

Searched refs:sec_name (Results 1 – 18 of 18) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dcoffcode.h516 sec_to_styp_flags (const char *sec_name, flagword sec_flags) in sec_to_styp_flags() argument
520 if (!strcmp (sec_name, _TEXT)) in sec_to_styp_flags()
524 else if (!strcmp (sec_name, _DATA)) in sec_to_styp_flags()
528 else if (!strcmp (sec_name, _BSS)) in sec_to_styp_flags()
533 else if (!strcmp (sec_name, _COMMENT)) in sec_to_styp_flags()
539 else if (!strcmp (sec_name, _LIB)) in sec_to_styp_flags()
545 else if (!strcmp (sec_name, _LIT)) in sec_to_styp_flags()
550 else if (CONST_STRNEQ (sec_name, DOT_DEBUG) in sec_to_styp_flags()
551 || CONST_STRNEQ (sec_name, DOT_ZDEBUG)) in sec_to_styp_flags()
554 if (!sec_name[6]) in sec_to_styp_flags()
[all …]
Dcoff-i960.c217 const char *sec_name; in coff_i960_relocate() local
220 sec_name = bfd_get_section_name (output_bfd, osec); in coff_i960_relocate()
228 sec_name) == 0) in coff_i960_relocate()
Decoff.c1616 const char *sec_name; in ecoff_slurp_reloc_table() local
1622 case RELOC_SECTION_TEXT: sec_name = _TEXT; break; in ecoff_slurp_reloc_table()
1623 case RELOC_SECTION_RDATA: sec_name = _RDATA; break; in ecoff_slurp_reloc_table()
1624 case RELOC_SECTION_DATA: sec_name = _DATA; break; in ecoff_slurp_reloc_table()
1625 case RELOC_SECTION_SDATA: sec_name = _SDATA; break; in ecoff_slurp_reloc_table()
1626 case RELOC_SECTION_SBSS: sec_name = _SBSS; break; in ecoff_slurp_reloc_table()
1627 case RELOC_SECTION_BSS: sec_name = _BSS; break; in ecoff_slurp_reloc_table()
1628 case RELOC_SECTION_INIT: sec_name = _INIT; break; in ecoff_slurp_reloc_table()
1629 case RELOC_SECTION_LIT8: sec_name = _LIT8; break; in ecoff_slurp_reloc_table()
1630 case RELOC_SECTION_LIT4: sec_name = _LIT4; break; in ecoff_slurp_reloc_table()
[all …]
Dpei-x86_64.c291 pex64_get_section_by_rva (bfd *abfd, bfd_vma addr, const char *sec_name) in pex64_get_section_by_rva() argument
293 asection *section = bfd_get_section_by_name (abfd, sec_name); in pex64_get_section_by_rva()
Dmmo.c645 char sec_name[sizeof (".MMIX.sec.") + 20]; in mmo_decide_section() local
698 sprintf (sec_name, ".MMIX.sec.%d", abfd->tdata.mmo_data->sec_no++); in mmo_decide_section()
699 sec = mmo_make_section (abfd, sec_name); in mmo_decide_section()
Delf32-nds32.c3177 static const char sec_name[SDA_SECTION_NUM][10] = in nds32_elf_final_sda_base() local
3191 while (i < sizeof (sec_name) / sizeof (sec_name [0])) in nds32_elf_final_sda_base()
3193 temp = bfd_get_section_by_name (output_bfd, sec_name[i]); in nds32_elf_final_sda_base()
3233 while (i < sizeof (sec_name) / sizeof (sec_name [0])) in nds32_elf_final_sda_base()
3235 final = bfd_get_section_by_name (output_bfd, sec_name[i]); in nds32_elf_final_sda_base()
Delflink.c11612 const char *sec_name; in _bfd_elf_gc_mark_hook() local
11633 sec_name = h->root.root.string + 8; in _bfd_elf_gc_mark_hook()
11635 sec_name = h->root.root.string + 7; in _bfd_elf_gc_mark_hook()
11637 sec_name = NULL; in _bfd_elf_gc_mark_hook()
11639 if (sec_name && *sec_name != '\0') in _bfd_elf_gc_mark_hook()
11645 sec = bfd_get_section_by_name (i, sec_name); in _bfd_elf_gc_mark_hook()
Delf32-xtensa.c780 const char *sec_name, in xtensa_read_table_entries() argument
802 table_section = xtensa_get_property_section (section, sec_name); in xtensa_read_table_entries()
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dxtensaelf.em254 const char *sec_name;
256 sec_name = bfd_get_section_name (abfd, sec);
257 if (strcmp (sec_name, INSN_SEC_BASE_NAME) == 0)
262 else if (CONST_STRNEQ (sec_name, LINKONCE_SEC_OLD_TEXT_BASE_NAME))
264 insn_sec_name = sec_name;
265 owned_prop_sec_name = (char *) xmalloc (strlen (sec_name) + 20);
269 sec_name + strlen (LINKONCE_SEC_OLD_TEXT_BASE_NAME));
1302 const char *sec_name = bfd_get_section_name (abfd, sec);
1306 || strncmp (sec_name, ".gnu.linkonce.", linkonce_len) != 0)
1311 name = sec_name + linkonce_len;
[all …]
/toolchain/binutils/binutils-2.25/ld/
Dlexsup.c1185 char *sec_name; in parse_args() local
1204 sec_name = (char *) xmalloc (len); in parse_args()
1205 memcpy (sec_name, optarg, len - 1); in parse_args()
1206 sec_name[len - 1] = 0; in parse_args()
1209 set_section_start (sec_name, optarg2); in parse_args()
Dpe-dll.c3249 char sec_name[9]; in pe_implied_import_dll() local
3251 sec_name[8] = '\0'; in pe_implied_import_dll()
3253 bfd_bread (sec_name, (bfd_size_type) 8, dll); in pe_implied_import_dll()
3255 if (strcmp(sec_name,".data") == 0) in pe_implied_import_dll()
3262 __FUNCTION__, sec_name, (unsigned long) vaddr, in pe_implied_import_dll()
3265 else if (strcmp(sec_name,".rdata") == 0) in pe_implied_import_dll()
3272 __FUNCTION__, sec_name, (unsigned long) vaddr, in pe_implied_import_dll()
3275 else if (strcmp (sec_name,".bss") == 0) in pe_implied_import_dll()
3282 __FUNCTION__, sec_name, (unsigned long) vaddr, in pe_implied_import_dll()
/toolchain/binutils/binutils-2.25/gas/
Ddwarf2dbg.c1682 const char * sec_name; in process_entries() local
1696 sec_name = bfd_get_section_name (stdoutput, seg); in process_entries()
1697 if (strcmp (sec_name, ".text") != 0) in process_entries()
1701 len = strlen (sec_name); in process_entries()
1703 sprintf (name, ".debug_line%s", sec_name); in process_entries()
/toolchain/binutils/binutils-2.25/gas/config/
Dobj-elf.c2313 const char *sec_name; in elf_adjust_symtab() local
2332 sec_name = ".group"; in elf_adjust_symtab()
2333 s = subseg_force_new (sec_name, 0); in elf_adjust_symtab()
Dtc-tic6x.c4615 char * sec_name; in tic6x_start_unwind_section() local
4648 sec_name = (char *) xmalloc (sec_name_len + 1); in tic6x_start_unwind_section()
4649 memcpy (sec_name, prefix, prefix_len); in tic6x_start_unwind_section()
4650 memcpy (sec_name + prefix_len, text_name, text_len); in tic6x_start_unwind_section()
4651 sec_name[prefix_len + text_len] = '\0'; in tic6x_start_unwind_section()
4672 obj_elf_change_section (sec_name, type, flags, 0, group_name, linkonce, 0); in tic6x_start_unwind_section()
Dtc-ia64.c1057 char *sec_name; in obj_elf_vms_common() local
1069 sec_name = obj_elf_section_name (); in obj_elf_vms_common()
1070 if (sec_name == NULL) in obj_elf_vms_common()
1152 (sec_name, SHT_NOBITS, in obj_elf_vms_common()
3567 char *sec_name; in start_unwind_section() local
3597 sec_name = alloca (sec_name_len + 1); in start_unwind_section()
3598 memcpy (sec_name, prefix, prefix_len); in start_unwind_section()
3599 memcpy (sec_name + prefix_len, suffix, suffix_len); in start_unwind_section()
3600 sec_name [sec_name_len] = '\0'; in start_unwind_section()
3625 memcpy (section, sec_name, sec_name_len); in start_unwind_section()
[all …]
Dtc-alpha.c3554 char *sec_name; in s_alpha_comm() local
3562 sec_name = s_alpha_section_name (); in s_alpha_comm()
3563 sec_symbol = symbol_find_or_make (sec_name); in s_alpha_comm()
3564 sec = subseg_new (sec_name, 0); in s_alpha_comm()
Dtc-arm.c21157 char * sec_name; in start_unwind_section() local
21190 sec_name = (char *) xmalloc (sec_name_len + 1); in start_unwind_section()
21191 memcpy (sec_name, prefix, prefix_len); in start_unwind_section()
21192 memcpy (sec_name + prefix_len, text_name, text_len); in start_unwind_section()
21193 sec_name[prefix_len + text_len] = '\0'; in start_unwind_section()
21214 obj_elf_change_section (sec_name, type, flags, 0, group_name, linkonce, 0); in start_unwind_section()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c1491 const char * sec_name = "<null>"; in dump_relocations() local
1497 sec_name = SECTION_NAME (section_headers + psym->st_shndx); in dump_relocations()
1499 sec_name = "ABS"; in dump_relocations()
1501 sec_name = "COMMON"; in dump_relocations()
1506 sec_name = "SCOMMON"; in dump_relocations()
1509 sec_name = "SUNDEF"; in dump_relocations()
1514 sec_name = "LARGE_COMMON"; in dump_relocations()
1518 sec_name = "ANSI_COM"; in dump_relocations()
1521 sec_name = "VMS_SYMVEC"; in dump_relocations()
1526 sec_name = name_buf; in dump_relocations()
[all …]