Home
last modified time | relevance | path

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

12

/toolchain/binutils/binutils-2.27/include/elf/
Dinternal.h104 bfd_vma sh_flags; /* Miscellaneous section attributes */ member
303 (((sec_hdr)->sh_flags & SHF_TLS) != 0 \
319 ((((sec_hdr)->sh_flags & SHF_TLS) != 0) \
325 || (((sec_hdr)->sh_flags & SHF_TLS) == 0 \
329 && !(((sec_hdr)->sh_flags & SHF_ALLOC) == 0 \
347 || ((sec_hdr)->sh_flags & SHF_ALLOC) == 0 \
363 && (((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.27/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.27/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.c799 if ((this_hdr->sh_flags & SHF_LINK_ORDER) != 0) in _bfd_elf_setup_sections()
948 elf_section_flags (newsect) = hdr->sh_flags; in _bfd_elf_make_section_from_shdr()
963 if ((hdr->sh_flags & SHF_ALLOC) != 0) in _bfd_elf_make_section_from_shdr()
969 if ((hdr->sh_flags & SHF_WRITE) == 0) in _bfd_elf_make_section_from_shdr()
971 if ((hdr->sh_flags & SHF_EXECINSTR) != 0) in _bfd_elf_make_section_from_shdr()
975 if ((hdr->sh_flags & SHF_MERGE) != 0) in _bfd_elf_make_section_from_shdr()
980 if ((hdr->sh_flags & SHF_STRINGS) != 0) in _bfd_elf_make_section_from_shdr()
982 if (hdr->sh_flags & SHF_GROUP) in _bfd_elf_make_section_from_shdr()
985 if ((hdr->sh_flags & SHF_TLS) != 0) in _bfd_elf_make_section_from_shdr()
987 if ((hdr->sh_flags & SHF_EXCLUDE) != 0) in _bfd_elf_make_section_from_shdr()
[all …]
Delfcode.h311 dst->sh_flags = H_GET_WORD (abfd, src->sh_flags); in elf_swap_shdr_in()
337 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()
1564 (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.c713 if (hdr->sh_flags & SHF_MEP_VLIW) in mep_elf_section_flags()
724 hdr->sh_flags |= SHF_MEP_VLIW; in mep_elf_fake_sections()
Delf-nacl.c156 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()
1329 score_elf_section_data (s)->elf.this_hdr.sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in score_elf_create_got_section()
3534 hdr->sh_flags |= SHF_SCORE_GPREL; in s7_bfd_score_elf_fake_sections()
3556 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in s7_bfd_score_elf_section_processing()
3561 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in s7_bfd_score_elf_section_processing()
3566 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()
3722 hdr->sh_flags |= SHF_SCORE_GPREL; in s3_bfd_score_elf_fake_sections()
3743 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_SCORE_GPREL; in s3_bfd_score_elf_section_processing()
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_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()
4606 hdr->sh_flags |= SHF_IA_64_VMS_SHARED; in elf64_vms_section_processing()
Delfxx-mips.c5156 mips_elf_section_data (s)->elf.this_hdr.sh_flags in mips_elf_create_got_section()
6545 elf_section_data (input_section->output_section)->this_hdr.sh_flags in mips_elf_create_dynamic_relocation()
7035 hdr->sh_flags |= SHF_ALLOC | SHF_WRITE | SHF_MIPS_GPREL; in _bfd_mips_elf_section_processing()
7037 hdr->sh_flags |= SHF_ALLOC | SHF_MIPS_GPREL; in _bfd_mips_elf_section_processing()
7039 hdr->sh_flags = 0; in _bfd_mips_elf_section_processing()
7318 hdr->sh_flags |= SHF_MIPS_GPREL; in _bfd_mips_elf_fake_sections()
7322 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
7327 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
7334 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
7350 hdr->sh_flags |= SHF_MIPS_NOSTRIP; in _bfd_mips_elf_fake_sections()
[all …]
Delf32-i370.c404 shdr->sh_flags |= SHF_EXCLUDE; in i370_elf_fake_sections()
Delf32-arm.c15904 hdr->sh_flags |= SHF_LINK_ORDER; in elf32_arm_fake_sections()
15908 hdr->sh_flags |= SHF_ARM_NOREAD; in elf32_arm_fake_sections()
18195 if (hdr->sh_flags & SHF_ARM_NOREAD) in elf32_arm_section_flags()
18236 osection->sh_flags = SHF_ALLOC | SHF_LINK_ORDER; in elf32_arm_copy_special_section_fields()
18277 && (oheaders[i]->sh_flags & (SHF_ALLOC | SHF_EXECINSTR)) in elf32_arm_copy_special_section_fields()
18287 if (oheaders[i]->sh_flags & SHF_GROUP) in elf32_arm_copy_special_section_fields()
18288 osection->sh_flags |= SHF_GROUP; in elf32_arm_copy_special_section_fields()
18295 osection->sh_flags = SHF_ALLOC; in elf32_arm_copy_special_section_fields()
Delf-bfd.h1536 #define elf_section_flags(sec) (elf_section_data(sec)->this_hdr.sh_flags)
/toolchain/binutils/binutils-2.27/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.27/gold/
Dcompressed_output.cc146 elfcpp::Elf_Xword sh_flags) in decompress_input_section() argument
148 if ((sh_flags & elfcpp::SHF_COMPRESSED) != 0) in decompress_input_section()
Doutput.cc2480 typename elfcpp::Elf_types<size>::Elf_WXword sh_flags = shdr.get_sh_flags(); in add_input_section() local
2487 sh_flags |= (elfcpp::SHF_MERGE | elfcpp::SHF_STRINGS); in add_input_section()
2491 this->update_flags_for_input_section(sh_flags); in add_input_section()
2499 if ((sh_flags & elfcpp::SHF_MERGE) != 0 in add_input_section()
2510 if (this->add_merge_input_section(object, shndx, sh_flags, entsize, in add_input_section()
2550 && (sh_flags & elfcpp::SHF_EXECINSTR) != 0 in add_input_section()
2562 && (sh_flags & elfcpp::SHF_EXECINSTR) != 0 in add_input_section()
Dlayout.cc1092 typename elfcpp::Elf_types<size>::Elf_WXword sh_flags = shdr.get_sh_flags(); in init_fixed_output_section() local
1100 sh_flags, ORDER_INVALID, false); in init_fixed_output_section()
2065 elfcpp::Elf_Xword sh_flags = elfcpp::SHF_ALLOC; in make_output_section_for_script() local
2067 sh_flags = 0; in make_output_section_for_script()
2069 sh_flags, ORDER_INVALID, in make_output_section_for_script()
/toolchain/binutils/binutils-2.27/elfcpp/
Delfcpp_internal.h72 typename Elf_types<size>::Elf_WXword sh_flags; member
Delfcpp.h1216 { return Convert<size, big_endian>::convert_host(this->p_->sh_flags); }
1271 { this->p_->sh_flags = Convert<size, big_endian>::convert_host(v); }
/toolchain/binutils/binutils-2.27/binutils/
Dreadelf.c5152 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_32bit_section_headers()
5162 if (!probe && internal->sh_flags & SHF_INFO_LINK && internal->sh_info > num) in get_32bit_section_headers()
5214 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_64bit_section_headers()
5224 if (!probe && internal->sh_flags & SHF_INFO_LINK && internal->sh_info > num) in get_64bit_section_headers()
5459 get_elf_section_flags (bfd_vma sh_flags) in get_elf_section_flags() argument
5510 field_size, field_size, (unsigned long) sh_flags); in get_elf_section_flags()
5514 while (sh_flags) in get_elf_section_flags()
5518 flag = sh_flags & - sh_flags; in get_elf_section_flags()
5519 sh_flags &= ~ flag; in get_elf_section_flags()
5643 sh_flags &= ~ SHF_MASKOS; in get_elf_section_flags()
[all …]

12