Home
last modified time | relevance | path

Searched refs:sh_flags (Results 1 – 25 of 36) sorted by relevance

12

/toolchain/binutils/binutils-2.25/include/elf/
Dinternal.h104 bfd_vma sh_flags; /* Miscellaneous section attributes */ member
295 (((sec_hdr)->sh_flags & SHF_TLS) != 0 \
311 ((((sec_hdr)->sh_flags & SHF_TLS) != 0) \
317 || (((sec_hdr)->sh_flags & SHF_TLS) == 0 \
332 || ((sec_hdr)->sh_flags & SHF_ALLOC) == 0 \
348 && (((sec_hdr)->sh_flags & SHF_ALLOC) == 0 \
Dexternal.h115 unsigned char sh_flags[4]; /* Miscellaneous section attributes */ member
128 unsigned char sh_flags[8]; /* Miscellaneous section attributes */ member
DChangeLog-91031083 (SHF_MERGE): New valye for sh_flags field.
1084 (SHF_STRINGS): New valye for sh_flags field.
1085 (SHF_INFO_LINK): New valye for sh_flags field.
1086 (SHF_OS_NONCONFORMING): New valye for sh_flags field.
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dsh64elf.em105 if (elf_section_data (isec)->this_hdr.sh_flags
163 = (elf_section_data (isec)->this_hdr.sh_flags
190 = (elf_section_data (isec)->this_hdr.sh_flags
295 = (elf_section_data (isec)->this_hdr.sh_flags
322 = (elf_section_data (isec)->this_hdr.sh_flags
373 && ((elf_section_data (isec)->this_hdr.sh_flags
442 && ((elf_section_data (isec)->this_hdr.sh_flags
449 = (elf_section_data (isec)->this_hdr.sh_flags
/toolchain/binutils/binutils-2.25/bfd/
Delf32-sh64-com.c205 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
216 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
Delf.c761 if ((this_hdr->sh_flags & SHF_LINK_ORDER) != 0) in _bfd_elf_setup_sections()
872 elf_section_flags (newsect) = hdr->sh_flags; in _bfd_elf_make_section_from_shdr()
887 if ((hdr->sh_flags & SHF_ALLOC) != 0) in _bfd_elf_make_section_from_shdr()
893 if ((hdr->sh_flags & SHF_WRITE) == 0) in _bfd_elf_make_section_from_shdr()
895 if ((hdr->sh_flags & SHF_EXECINSTR) != 0) in _bfd_elf_make_section_from_shdr()
899 if ((hdr->sh_flags & SHF_MERGE) != 0) in _bfd_elf_make_section_from_shdr()
903 if ((hdr->sh_flags & SHF_STRINGS) != 0) in _bfd_elf_make_section_from_shdr()
906 if (hdr->sh_flags & SHF_GROUP) in _bfd_elf_make_section_from_shdr()
909 if ((hdr->sh_flags & SHF_TLS) != 0) in _bfd_elf_make_section_from_shdr()
911 if ((hdr->sh_flags & SHF_EXCLUDE) != 0) in _bfd_elf_make_section_from_shdr()
[all …]
Delfcode.h310 dst->sh_flags = H_GET_WORD (abfd, src->sh_flags); in elf_swap_shdr_in()
336 H_PUT_WORD (abfd, src->sh_flags, dst->sh_flags); in elf_swap_shdr_out()
730 if (((i_shdrp[shindex].sh_flags & SHF_INFO_LINK) in elf_object_p()
739 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0 in elf_object_p()
1558 (long) hdr->sh_flags); in elf_debug_section()
Delf32-sh64.c142 elf_section_hdr->sh_flags in sh64_elf_fake_sections()
333 = (elf_section_data (isec)->this_hdr.sh_flags in sh64_bfd_elf_copy_private_section_data()
Delf32-mep.c728 if (hdr->sh_flags & SHF_MEP_VLIW) in mep_elf_section_flags()
739 hdr->sh_flags |= SHF_MEP_VLIW; in mep_elf_fake_sections()
Delf-nacl.c158 secdata->this_hdr.sh_flags = SHF_ALLOC | SHF_EXECINSTR; in nacl_modify_segment_map()
Delf32-score7.c1256 elf_section_data (input_section->output_section)->this_hdr.sh_flags |= SHF_WRITE; in score_elf_create_dynamic_relocation()
1328 score_elf_section_data (s)->elf.this_hdr.sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in score_elf_create_got_section()
3538 hdr->sh_flags |= SHF_SCORE_GPREL; in s7_bfd_score_elf_fake_sections()
3560 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in s7_bfd_score_elf_section_processing()
3565 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in s7_bfd_score_elf_section_processing()
3570 hdr->sh_flags |= SHF_ALLOC | SHF_SCORE_GPREL; in s7_bfd_score_elf_section_processing()
Delfnn-ia64.c926 if (hdr->sh_flags & SHF_IA_64_SHORT) in elfNN_ia64_section_flags()
948 hdr->sh_flags |= SHF_LINK_ORDER; in elfNN_ia64_fake_sections()
974 hdr->sh_flags |= SHF_IA_64_SHORT; in elfNN_ia64_fake_sections()
979 hdr->sh_flags |= SHF_IA_64_HP_TLS; in elfNN_ia64_fake_sections()
1196 bfd_vma flags = elf_section_data(is)->this_hdr.sh_flags; in elfNN_ia64_modify_program_headers()
3806 flags = elf_section_data(input_section)->this_hdr.sh_flags; in elfNN_ia64_relocate_section()
3810 ->this_hdr.sh_flags |= flags; in elfNN_ia64_relocate_section()
Delf32-score.c1398 elf_section_data (input_section->output_section)->this_hdr.sh_flags |= SHF_WRITE; in score_elf_create_dynamic_relocation()
1470 score_elf_section_data (s)->elf.this_hdr.sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in score_elf_create_got_section()
3727 hdr->sh_flags |= SHF_SCORE_GPREL; in s3_bfd_score_elf_fake_sections()
3748 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in s3_bfd_score_elf_section_processing()
3753 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in s3_bfd_score_elf_section_processing()
3758 hdr->sh_flags |= SHF_ALLOC | SHF_SCORE_GPREL; in s3_bfd_score_elf_section_processing()
Delf64-ia64-vms.c815 if (hdr->sh_flags & SHF_IA_64_SHORT) in elf64_ia64_section_flags()
837 hdr->sh_flags |= SHF_LINK_ORDER; in elf64_ia64_fake_sections()
843 hdr->sh_flags |= SHF_IA_64_SHORT; in elf64_ia64_fake_sections()
3399 flags = elf_section_data(input_section)->this_hdr.sh_flags; in elf64_ia64_relocate_section()
3403 ->this_hdr.sh_flags |= flags; in elf64_ia64_relocate_section()
4608 hdr->sh_flags |= SHF_IA_64_VMS_SHARED; in elf64_vms_section_processing()
Delf64-sh64.c2217 elf_section_hdr->sh_flags |= SHF_SH5_ISA32; in sh64_elf64_fake_sections()
2279 if ((elf_section_data (isec)->this_hdr.sh_flags in sh_elf64_copy_private_data_internal()
2281 o_shdrp[oIndex]->sh_flags |= SHF_SH5_ISA32; in sh_elf64_copy_private_data_internal()
Delfxx-mips.c5147 mips_elf_section_data (s)->elf.this_hdr.sh_flags in mips_elf_create_got_section()
6518 elf_section_data (input_section->output_section)->this_hdr.sh_flags in mips_elf_create_dynamic_relocation()
7008 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_MIPS_GPREL; in _bfd_mips_elf_section_processing()
7010 hdr->sh_flags |= SHF_ALLOC | SHF_MIPS_GPREL; in _bfd_mips_elf_section_processing()
7012 hdr->sh_flags = 0; in _bfd_mips_elf_section_processing()
7291 hdr->sh_flags |= SHF_MIPS_GPREL; in _bfd_mips_elf_fake_sections()
7295 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
7300 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
7307 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
7323 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
[all …]
Delf32-i370.c395 shdr->sh_flags |= SHF_EXCLUDE; in i370_elf_fake_sections()
Delf-bfd.h1435 #define elf_section_flags(sec) (elf_section_data(sec)->this_hdr.sh_flags)
Delflink.c10315 && elf_elfsections (sub)[elfsec]->sh_flags & SHF_LINK_ORDER in elf_fixup_link_order()
11143 symstrtab_hdr->sh_flags = 0; in bfd_elf_final_link()
11338 && (hdr->sh_flags & SHF_ALLOC) != 0) in bfd_elf_final_link()
12402 const bfd_vma sh_flags = elf_section_flags (section); in bfd_elf_lookup_section_flags() local
12456 if ((flaginfo->only_with_flags & sh_flags) != flaginfo->only_with_flags) in bfd_elf_lookup_section_flags()
12459 if ((flaginfo->not_with_flags & sh_flags) != 0) in bfd_elf_lookup_section_flags()
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-elf.c159 unsigned char sh_flags[4]; /* Miscellaneous section attributes */ member
174 unsigned char sh_flags[8]; /* Miscellaneous section attributes */ member
768 unsigned int sh_type, unsigned int sh_flags, in simple_object_elf_write_shdr() argument
790 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_flags, Elf_Addr, sh_flags); in simple_object_elf_write_shdr()
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_internal.h72 typename Elf_types<size>::Elf_WXword sh_flags; member
Delfcpp.h1186 { return Convert<size, big_endian>::convert_host(this->p_->sh_flags); }
1241 { this->p_->sh_flags = Convert<size, big_endian>::convert_host(v); }
/toolchain/binutils/binutils-2.25/gold/
Doutput.cc2383 typename elfcpp::Elf_types<size>::Elf_WXword sh_flags = shdr.get_sh_flags(); in add_input_section() local
2390 sh_flags |= (elfcpp::SHF_MERGE | elfcpp::SHF_STRINGS); in add_input_section()
2394 this->update_flags_for_input_section(sh_flags); in add_input_section()
2402 if ((sh_flags & elfcpp::SHF_MERGE) != 0 in add_input_section()
2413 if (this->add_merge_input_section(object, shndx, sh_flags, entsize, in add_input_section()
2453 && (sh_flags & elfcpp::SHF_EXECINSTR) != 0 in add_input_section()
2465 && (sh_flags & elfcpp::SHF_EXECINSTR) != 0 in add_input_section()
Dlayout.cc1098 typename elfcpp::Elf_types<size>::Elf_WXword sh_flags = shdr.get_sh_flags(); in init_fixed_output_section() local
1106 sh_flags, ORDER_INVALID, false); in init_fixed_output_section()
2067 elfcpp::Elf_Xword sh_flags = elfcpp::SHF_ALLOC; in make_output_section_for_script() local
2069 sh_flags = 0; in make_output_section_for_script()
2071 sh_flags, ORDER_INVALID, in make_output_section_for_script()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c4642 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_32bit_section_headers()
4700 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_64bit_section_headers()
4892 get_elf_section_flags (bfd_vma sh_flags) in get_elf_section_flags() argument
4938 field_size, field_size, (unsigned long) sh_flags); in get_elf_section_flags()
4942 while (sh_flags) in get_elf_section_flags()
4946 flag = sh_flags & - sh_flags; in get_elf_section_flags()
4947 sh_flags &= ~ flag; in get_elf_section_flags()
5052 sh_flags &= ~ SHF_MASKOS; in get_elf_section_flags()
5057 sh_flags &= ~ SHF_MASKPROC; in get_elf_section_flags()
5429 printf (" %3s ", get_elf_section_flags (section->sh_flags)); in process_section_headers()
[all …]

12