Home
last modified time | relevance | path

Searched refs:SHF_ALLOC (Results 1 – 25 of 68) sorted by relevance

123

/toolchain/binutils/binutils-2.25/gas/config/
Dtc-nios2.h88 { ".sdata", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_NIOS2_GPREL }, \
89 { ".sbss", SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_NIOS2_GPREL }, \
90 { ".lit4", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_NIOS2_GPREL }, \
91 { ".lit8", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_NIOS2_GPREL },
Dtc-microblaze.h85 { ".sdata", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, \
86 { ".sbss", SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, \
87 { ".sdata2", SHT_PROGBITS, SHF_ALLOC }, \
88 { ".sbss2", SHT_PROGBITS, SHF_ALLOC }, \
Dtc-mep.h113 { VTEXT_SECTION_NAME, SHT_PROGBITS, SHF_ALLOC|SHF_EXECINSTR|SHF_MEP_VLIW },
Dobj-elf.c643 && (attr == SHF_ALLOC || attr == SHF_EXECINSTR)) in obj_elf_change_section()
655 else if (attr == SHF_ALLOC in obj_elf_change_section()
670 else if (attr == (SHF_EXECINSTR | SHF_WRITE | SHF_ALLOC) in obj_elf_change_section()
692 | ((attr & SHF_ALLOC) ? SEC_ALLOC : 0) in obj_elf_change_section()
693 | (((attr & SHF_ALLOC) && type != SHT_NOBITS) ? SEC_LOAD : 0) in obj_elf_change_section()
769 attr |= SHF_ALLOC; in obj_elf_parse_section_letters()
863 return SHF_ALLOC; in obj_elf_section_word()
Dtc-microblaze.c148 obj_elf_change_section (".data", SHT_PROGBITS, SHF_ALLOC+SHF_WRITE, 0, 0, 0, 0); in microblaze_s_data()
160 obj_elf_change_section (".sdata", SHT_PROGBITS, SHF_ALLOC+SHF_WRITE, 0, 0, 0, 0); in microblaze_s_sdata()
279 obj_elf_change_section (".rodata", SHT_PROGBITS, SHF_ALLOC, 0, 0, 0, 0); in microblaze_s_rdata()
286 obj_elf_change_section (".sdata2", SHT_PROGBITS, SHF_ALLOC, 0, 0, 0, 0); in microblaze_s_rdata()
298 obj_elf_change_section (".bss", SHT_NOBITS, SHF_ALLOC+SHF_WRITE, 0, 0, 0, 0); in microblaze_s_bss()
302 obj_elf_change_section (".sbss", SHT_NOBITS, SHF_ALLOC+SHF_WRITE, 0, 0, 0, 0); in microblaze_s_bss()
Dtc-rx.c395 int attr = SHF_ALLOC | SHF_EXECINSTR; in parse_rx_section()
438 attr = SHF_ALLOC | SHF_EXECINSTR; in parse_rx_section()
440 attr = SHF_ALLOC | SHF_WRITE; in parse_rx_section()
442 attr = SHF_ALLOC; in parse_rx_section()
475 | ((flags & SEC_ALLOC) ? SHF_ALLOC : 0) in parse_rx_section()
/toolchain/binutils/binutils-2.25/bfd/
Delf32-m68hc12.c629 { STRING_COMMA_LEN (".eeprom"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
630 { STRING_COMMA_LEN (".page0"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
631 { STRING_COMMA_LEN (".softregs"), 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE },
632 { STRING_COMMA_LEN (".vectors"), 0, SHT_PROGBITS, SHF_ALLOC },
Delf32-xgate.c497 { STRING_COMMA_LEN (".eeprom"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
498 { STRING_COMMA_LEN (".page0"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
499 { STRING_COMMA_LEN (".softregs"), 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE },
500 { STRING_COMMA_LEN (".vectors"), 0, SHT_PROGBITS, SHF_ALLOC },
Delf32-v850.c3745 { STRING_COMMA_LEN (".call_table_data"), 0, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE) },
3746 { STRING_COMMA_LEN (".call_table_text"), 0, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE
3748 { STRING_COMMA_LEN (".rosdata"), -2, SHT_PROGBITS, (SHF_ALLOC
3750 { STRING_COMMA_LEN (".rozdata"), -2, SHT_PROGBITS, (SHF_ALLOC
3752 { STRING_COMMA_LEN (".sbss"), -2, SHT_NOBITS, (SHF_ALLOC + SHF_WRITE
3754 { STRING_COMMA_LEN (".scommon"), -2, SHT_V850_SCOMMON, (SHF_ALLOC + SHF_WRITE
3756 { STRING_COMMA_LEN (".sdata"), -2, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE
3758 { STRING_COMMA_LEN (".tbss"), -2, SHT_NOBITS, (SHF_ALLOC + SHF_WRITE
3760 { STRING_COMMA_LEN (".tcommon"), -2, SHT_V850_TCOMMON, (SHF_ALLOC + SHF_WRITE
3762 { STRING_COMMA_LEN (".tdata"), -2, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE
[all …]
Delf32-m68hc11.c1279 { STRING_COMMA_LEN (".eeprom"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
1280 { STRING_COMMA_LEN (".page0"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
1281 { STRING_COMMA_LEN (".softregs"), 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE },
1282 { STRING_COMMA_LEN (".vectors"), 0, SHT_PROGBITS, SHF_ALLOC },
Delf32-mcore.c646 { STRING_COMMA_LEN (".ctors"), -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
647 { STRING_COMMA_LEN (".dtors"), -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
Delf.c887 if ((hdr->sh_flags & SHF_ALLOC) != 0) in _bfd_elf_make_section_from_shdr()
1727 if ((hdr->sh_flags & SHF_ALLOC) != 0 in bfd_section_from_shdr()
2057 if ((hdr->sh_flags & SHF_ALLOC) != 0) in bfd_section_from_shdr()
2163 { STRING_COMMA_LEN (".bss"), -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE },
2175 { STRING_COMMA_LEN (".data"), -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
2176 { STRING_COMMA_LEN (".data1"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
2185 { STRING_COMMA_LEN (".dynamic"), 0, SHT_DYNAMIC, SHF_ALLOC },
2186 { STRING_COMMA_LEN (".dynstr"), 0, SHT_STRTAB, SHF_ALLOC },
2187 { STRING_COMMA_LEN (".dynsym"), 0, SHT_DYNSYM, SHF_ALLOC },
2193 { STRING_COMMA_LEN (".fini"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR },
[all …]
/toolchain/binutils/binutils-2.25/gold/
Dlayout.cc694 && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0) in include_section()
700 && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0) in include_section()
711 && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0) in include_section()
722 && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0) in include_section()
735 && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0) in include_section()
978 flags &= elfcpp::SHF_ALLOC; in choose_output_section()
1016 if ((os->flags() & elfcpp::SHF_ALLOC) == 0 in choose_output_section()
1260 if ((orig_flags & elfcpp::SHF_ALLOC) != 0) in layout()
1416 gold_assert((shdr.get_sh_flags() & elfcpp::SHF_ALLOC) != 0); in layout_eh_frame()
1506 elfcpp::SHF_ALLOC, false, in make_eh_frame_section()
[all …]
Dx86_64.cc1107 (elfcpp::SHF_ALLOC in got_section()
1113 (elfcpp::SHF_ALLOC in got_section()
1141 (elfcpp::SHF_ALLOC in got_section()
1150 (elfcpp::SHF_ALLOC in got_section()
1170 elfcpp::SHF_ALLOC, this->rela_dyn_, in rela_dyn_section()
1192 elfcpp::SHF_ALLOC, this->rela_irelative_, in rela_irelative_section()
1229 elfcpp::SHF_ALLOC, this->rel_, in init()
1382 elfcpp::SHF_ALLOC, this->tlsdesc_rel_, in rela_tlsdesc()
1405 elfcpp::SHF_ALLOC, this->irelative_rel_, in rela_irelative()
1729 (elfcpp::SHF_ALLOC in make_plt_section()
[all …]
Di386.cc927 (elfcpp::SHF_ALLOC in got_section()
933 (elfcpp::SHF_ALLOC in got_section()
961 (elfcpp::SHF_ALLOC in got_section()
970 (elfcpp::SHF_ALLOC in got_section()
989 elfcpp::SHF_ALLOC, this->rel_dyn_, in rel_dyn_section()
1010 elfcpp::SHF_ALLOC, this->rel_irelative_, in rel_irelative_section()
1054 elfcpp::SHF_ALLOC, this->rel_, in Output_data_plt_i386()
1160 elfcpp::SHF_ALLOC, this->tls_desc_rel_, in rel_tls_desc()
1181 elfcpp::SHF_ALLOC, this->irelative_rel_, in rel_irelative()
1488 (elfcpp::SHF_ALLOC in make_plt_section()
[all …]
Dtilegx.cc1868 (elfcpp::SHF_ALLOC in got_section()
1901 (elfcpp::SHF_ALLOC in got_section()
1922 (elfcpp::SHF_ALLOC in got_section()
1942 elfcpp::SHF_ALLOC, this->rela_dyn_, in rela_dyn_section()
1964 elfcpp::SHF_ALLOC, this->rela_irelative_, in rela_irelative_section()
1980 elfcpp::SHF_ALLOC, this->rel_, in init()
2161 elfcpp::SHF_ALLOC, this->irelative_rel_, in rela_irelative()
2529 (elfcpp::SHF_ALLOC in make_plt_section()
2620 (elfcpp::SHF_ALLOC in init_got_plt_for_update()
2654 (elfcpp::SHF_ALLOC in init_got_plt_for_update()
[all …]
Dscript-sections.cc219 if ((flags & elfcpp::SHF_ALLOC) == 0) in attributes_compatible()
410 && (os->flags() & elfcpp::SHF_ALLOC) != 0) in output_section_init()
457 if ((flags & elfcpp::SHF_ALLOC) == 0 in find_place()
460 else if ((flags & elfcpp::SHF_ALLOC) == 0) in find_place()
2363 && ((this->output_section_->flags() & elfcpp::SHF_ALLOC) != 0 in set_section_addresses()
2646 if ((this->output_section_->flags() & elfcpp::SHF_ALLOC) == 0) in allocate_to_segment()
2897 if ((this->os_->flags() & elfcpp::SHF_ALLOC) != 0) in set_section_addresses()
2948 if ((this->os_->flags() & elfcpp::SHF_ALLOC) == 0) in allocate_to_segment()
3567 && (os->flags() & elfcpp::SHF_ALLOC) != 0) in set_section_addresses()
Dcopy-relocs.cc152 elfcpp::SHF_ALLOC | elfcpp::SHF_WRITE, in make_copy_reloc()
Doutput.cc216 if (((*p)->flags() & elfcpp::SHF_ALLOC) != 0) in do_size()
326 if (((*p)->flags() & elfcpp::SHF_ALLOC) == 0 in do_sized_write()
2325 if ((flags & elfcpp::SHF_ALLOC) == 0) in Output_section()
2827 if ((this->flags_ & elfcpp::SHF_ALLOC) == 0 in update_flags_for_input_section()
2828 && (flags & elfcpp::SHF_ALLOC) != 0) in update_flags_for_input_section()
2833 | elfcpp::SHF_ALLOC in update_flags_for_input_section()
3157 if (((this->flags_ & elfcpp::SHF_ALLOC) == 0) && !this->is_noload_) in do_reset_address_and_file_offset()
3183 if ((this->flags_ & elfcpp::SHF_ALLOC) == 0) in do_address_and_file_offset_have_reset_values()
4024 if ((this->flags_ & elfcpp::SHF_ALLOC) != 0) in set_fixed_layout()
4081 gold_assert((os->flags() & elfcpp::SHF_ALLOC) != 0); in add_output_section_to_load()
[all …]
Dobject.cc531 && (shdr->get_sh_flags() & elfcpp::SHF_ALLOC) != 0); in check_eh_frame_flags()
688 && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0) in build_compressed_section_map()
1388 if (should_defer_layout && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC)) in do_layout()
1627 if (((shdr.get_sh_flags() & elfcpp::SHF_ALLOC) != 0) in do_layout()
1648 if (((shdr.get_sh_flags() & elfcpp::SHF_ALLOC) != 0) in do_layout()
1675 && (shdr.get_sh_flags() & elfcpp::SHF_ALLOC)) in do_layout()
1714 && !(shdr.get_sh_flags() & elfcpp::SHF_ALLOC)) in do_layout()
Dcommon.cc258 elfcpp::Elf_Xword flags = elfcpp::SHF_WRITE | elfcpp::SHF_ALLOC; in do_allocate_commons_list()
Dgold.cc585 if (os->is_section_flag_set(elfcpp::SHF_ALLOC) in queue_middle_tasks()
592 && os->is_section_flag_set(elfcpp::SHF_ALLOC) in queue_middle_tasks()
/toolchain/binutils/binutils-2.25/include/elf/
Dinternal.h332 || ((sec_hdr)->sh_flags & SHF_ALLOC) == 0 \
348 && (((sec_hdr)->sh_flags & SHF_ALLOC) == 0 \
/toolchain/binutils/binutils-2.25/gold/testsuite/
Dobject_unittest.cc59 CHECK(object->section_flags(1) == elfcpp::SHF_ALLOC); in Sized_object_test()
Dbinary_unittest.cc103 CHECK(object->section_flags(1) == (elfcpp::SHF_ALLOC | elfcpp::SHF_WRITE)); in Sized_binary_test()

123