Home
last modified time | relevance | path

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

123

/external/elfutils/src/backends/
Dalpha_symbol.c80 alpha_machine_section_flag_check (GElf_Xword sh_flags) in alpha_machine_section_flag_check() argument
82 return (sh_flags &~ (SHF_ALPHA_GPREL)) == 0; in alpha_machine_section_flag_check()
91 if ((shdr->sh_flags in alpha_check_special_section()
Dia64_symbol.c94 ia64_machine_section_flag_check (GElf_Xword sh_flags) in ia64_machine_section_flag_check() argument
96 return (sh_flags &~ (SHF_IA_64_SHORT | SHF_IA_64_NORECOV)) == 0; in ia64_machine_section_flag_check()
/external/elfutils/src/libdwfl/
Doffline.c50 assert (shdr->sh_flags & SHF_ALLOC); in dwfl_offline_section_address()
71 if (sh->sh_flags & SHF_ALLOC) in dwfl_offline_section_address()
82 if ((main_shdr->sh_flags & SHF_ALLOC) && skip_alloc-- == 0) in dwfl_offline_section_address()
84 assert (main_shdr->sh_flags == shdr->sh_flags); in dwfl_offline_section_address()
Ddwfl_report_elf.c78 if (shdr->sh_flags & SHF_ALLOC) in __libdwfl_elf_address_range()
111 if (prev_shdr->sh_flags & SHF_ALLOC) in __libdwfl_elf_address_range()
/external/elfutils/src/libelf/
Delf-knowledge.h39 (((shdr)->sh_flags & SHF_ALLOC) == 0 \
62 || ((Shdr)->sh_flags & SHF_INFO_LINK) != 0)
Dgelf_update_shdr.c63 if (unlikely (src->sh_flags > 0xffffffffull) in gelf_update_shdr()
78 COPY (sh_flags); in gelf_update_shdr()
Delf32_getshdr.c132 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2()
178 CONVERT (shdr[cnt].sh_flags); in ElfW2()
Dgelf_getshdr.c74 COPY (sh_flags);
/external/elfutils/src/tests/
Dupdate4.c132 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main()
168 shdr->sh_flags = SHF_ALLOC | SHF_WRITE; in main()
204 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main()
240 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main()
277 shdr->sh_flags = 0; in main()
Dasm-tst1.c192 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_EXECINSTR)) in main()
193 || (cnt == 2 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main()
194 || (cnt == 3 && shdr->sh_flags != 0)) in main()
Dasm-tst2.c208 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main()
209 || (cnt == 2 && shdr->sh_flags != 0)) in main()
Dasm-tst9.c242 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main()
243 || (cnt == 2 && shdr->sh_flags != 0)) in main()
Dasm-tst3.c208 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main()
209 || (cnt != 1 && shdr->sh_flags != 0)) in main()
Dalldts.c143 shdr->sh_flags = SHF_ALLOC | SHF_WRITE; in main()
197 shdr->sh_flags = 0; in main()
/external/mksh/
DMakefrag.inc8 INDSRCS= emacsfn.h rlimits.opt sh.h sh_flags.opt var_spec.h
17 .depend $(OBJS_BP): rlimits.gen sh_flags.gen
20 sh_flags.gen: ../src/Build.sh ../src/sh_flags.opt
21 srcfile=../src/sh_flags.opt; BUILDSH_RUN_GENOPT=1; . ../src/Build.sh
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc244 EXPECT_EQ(0U, shdr[0].sh_flags); in TYPED_TEST()
255 EXPECT_EQ(0U, shdr[1].sh_flags); in TYPED_TEST()
319 EXPECT_EQ(0U, shdr[0].sh_flags); in TYPED_TEST()
330 EXPECT_EQ(0U, shdr[1].sh_flags); in TYPED_TEST()
341 EXPECT_EQ(0U, shdr[2].sh_flags); in TYPED_TEST()
352 EXPECT_EQ(0U, shdr[3].sh_flags); in TYPED_TEST()
/external/elfutils/src/src/
Delflint.c818 if ((destshdr->sh_flags & SHF_TLS) == 0) in check_symtab()
1244 if (((*destshdrp)->sh_flags & (SHF_MERGE | SHF_STRINGS)) != 0) in check_reloc_shdr()
1346 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
1413 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
2249 if ((shdr->sh_flags & SHF_ALLOC) == 0) in check_hash()
2466 if (shdr->sh_flags != 0) in check_group()
2559 if ((refshdr->sh_flags & SHF_GROUP) == 0) in check_group()
3473 if (shdr->sh_flags != 0) in check_sections()
3559 if ((shdr->sh_flags & ~(SHF_LINK_ORDER | SHF_GROUP)) in check_sections()
3567 section_flags_string (shdr->sh_flags in check_sections()
[all …]
Dunstrip.c681 if (shdr1->sh_flags < shdr2->sh_flags) in compare_unalloc_sections()
683 if (shdr1->sh_flags > shdr2->sh_flags) in compare_unalloc_sections()
697 if ((s1->shdr.sh_flags ^ s2->shdr.sh_flags) & SHF_ALLOC) in compare_sections()
698 return (s1->shdr.sh_flags & SHF_ALLOC) ? -1 : 1; in compare_sections()
700 return ((s1->shdr.sh_flags & SHF_ALLOC) in compare_sections()
876 return (sections[i].shdr.sh_flags == shdr->sh_flags in sections_match()
943 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1021 COPY (sh_flags); in find_alloc_sections_prelink()
1033 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1065 if (!(shdr->sh_flags & SHF_ALLOC)) in find_alloc_sections_prelink()
[all …]
Dsize.c431 if (name != NULL && (shdr->sh_flags & SHF_ALLOC) != 0) in show_sysv()
451 if ((shdr->sh_flags & SHF_ALLOC) != 0) in show_sysv()
498 if ((shdr->sh_flags & SHF_ALLOC) == 0) in show_sysv_one_line()
550 if ((shdr->sh_flags & SHF_ALLOC) == 0) in show_bsd()
553 if ((shdr->sh_flags & SHF_WRITE) == 0) in show_bsd()
/external/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp866 const uint64_t vm_size = header.sh_flags & SHF_ALLOC ? header.sh_size : 0; in CreateSections()
960 header.sh_flags)); // Flags for this section. in CreateSections()
1708 s->Printf(" %8.8" PRIx64 " (", sh.sh_flags); in DumpELFSectionHeader()
1709 DumpELFSectionHeader_sh_flags(s, sh.sh_flags); in DumpELFSectionHeader()
1755 ObjectFileELF::DumpELFSectionHeader_sh_flags(Stream *s, elf_xword sh_flags) in DumpELFSectionHeader_sh_flags() argument
1757 *s << ((sh_flags & SHF_WRITE) ? "WRITE" : " ") in DumpELFSectionHeader_sh_flags()
1758 << (((sh_flags & SHF_WRITE) && (sh_flags & SHF_ALLOC)) ? '+' : ' ') in DumpELFSectionHeader_sh_flags()
1759 << ((sh_flags & SHF_ALLOC) ? "ALLOC" : " ") in DumpELFSectionHeader_sh_flags()
1760 << (((sh_flags & SHF_ALLOC) && (sh_flags & SHF_EXECINSTR)) ? '+' : ' ') in DumpELFSectionHeader_sh_flags()
1761 << ((sh_flags & SHF_EXECINSTR) ? "EXECINSTR" : " "); in DumpELFSectionHeader_sh_flags()
/external/valgrind/VEX/unused/
Dlinker.c981 && (hdr.sh_flags & SHF_ALLOC) && (hdr.sh_flags & SHF_EXECINSTR)) { in ocGetNames_ELF()
987 && (hdr.sh_flags & SHF_ALLOC) && (hdr.sh_flags & SHF_WRITE)) { in ocGetNames_ELF()
993 && (hdr.sh_flags & SHF_ALLOC) && !(hdr.sh_flags & SHF_WRITE)) { in ocGetNames_ELF()
999 && (hdr.sh_flags & SHF_ALLOC) && (hdr.sh_flags & SHF_WRITE)) { in ocGetNames_ELF()
/external/valgrind/VEX/switchback/
Dlinker.c1144 && (hdr.sh_flags & SHF_ALLOC) && (hdr.sh_flags & SHF_EXECINSTR)) {
1150 && (hdr.sh_flags & SHF_ALLOC) && (hdr.sh_flags & SHF_WRITE)) {
1156 && (hdr.sh_flags & SHF_ALLOC) && !(hdr.sh_flags & SHF_WRITE)) {
1162 && (hdr.sh_flags & SHF_ALLOC) && (hdr.sh_flags & SHF_WRITE)) {
/external/elfutils/src/libasm/
Dasm_newscn_ingrp.c74 shdr->sh_flags |= SHF_GROUP;
/external/tcpdump/
Ddecnet.h66 byte sh_flags; /* route flags */ member
373 byte sh_flags; /* message flags */ member
/external/kernel-headers/original/uapi/linux/
Delf.h302 Elf32_Word sh_flags; member
315 Elf64_Xword sh_flags; /* Miscellaneous section attributes */ member

123