Home
last modified time | relevance | path

Searched refs:PF_R (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-12-stable/sys/compat/cloudabi/
Dcloudabi_vdso.lds47 text PT_LOAD FLAGS(5) FILEHDR PHDRS; /* PF_R|PF_X */
48 dynamic PT_DYNAMIC FLAGS(4); /* PF_R */
49 note PT_NOTE FLAGS(4); /* PF_R */
/freebsd-12-stable/usr.sbin/btxld/
Delfh.c71 htole32(PF_R | PF_X), /* p_flags */
81 htole32(PF_R | PF_W), /* p_flags */
/freebsd-12-stable/sys/arm/arm/
Ddump_machdep.c94 phdr.p_flags = PF_R; /* XXX */ in dumpsys_write_aux_headers()
/freebsd-12-stable/contrib/llvm-project/lld/ELF/
DWriter.cpp2137 addPhdrForSection(part, SHT_ARM_EXIDX, PT_ARM_EXIDX, PF_R); in finalizeSections()
2141 addPhdrForSection(part, SHT_MIPS_REGINFO, PT_MIPS_REGINFO, PF_R); in finalizeSections()
2142 addPhdrForSection(part, SHT_MIPS_OPTIONS, PT_MIPS_OPTIONS, PF_R); in finalizeSections()
2143 addPhdrForSection(part, SHT_MIPS_ABIFLAGS, PT_MIPS_ABIFLAGS, PF_R); in finalizeSections()
2335 return PF_R | PF_W | PF_X; in computeFlags()
2337 return flags & ~PF_R; in computeFlags()
2357 uint64_t flags = computeFlags(PF_R); in createPhdrs()
2366 addHdr(PT_PHDR, PF_R)->add(Out::programHeaders); in createPhdrs()
2368 addHdr(PT_PHDR, PF_R)->add(part.programHeaders->getParent()); in createPhdrs()
2388 PhdrEntry *relRo = make<PhdrEntry>(PT_GNU_RELRO, PF_R); in createPhdrs()
[all …]
DOutputSections.cpp49 ret |= PF_R; in getPhdrFlags()
DLinkerScript.cpp1273 PhdrEntry *phdr = make<PhdrEntry>(cmd.type, cmd.flags ? *cmd.flags : PF_R); in createPhdrs()
/freebsd-12-stable/libexec/rtld-elf/
Dmap_object.c125 stack_flags = RTLD_DEFAULT_STACK_PF_EXEC | PF_R | PF_W; in map_object()
478 if (elfflags & PF_R) in convert_prot()
Drtld.c1469 obj->stack_flags = PF_X | PF_R | PF_W; in digest_phdr()
2150 obj->stack_flags = PF_X | PF_R | PF_W; in parse_rtld_phdr()
/freebsd-12-stable/sys/dev/ksyms/
Dksyms.c304 hdr->kh_txtphdr.p_flags = PF_R | PF_X; in ksyms_snapshot()
310 hdr->kh_datphdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
/freebsd-12-stable/contrib/binutils/include/elf/
Dcommon.h317 #define PF_R (1 << 2) /* Segment is readable */ macro
/freebsd-12-stable/contrib/gdb/gdb/
Dgcore.c300 p_flags |= PF_R; /* Segment is readable. */ in make_output_phdrs()
/freebsd-12-stable/sys/kern/
Dkern_dump.c255 phdr.p_flags = PF_R; /* XXX */ in cb_dumphdr()
Dimgact_elf.c1967 phdr->p_flags = PF_R; in __elfN()
2742 if (flags & PF_R) in __elfN()
2746 if (i386_read_exec && (flags & PF_R)) in __elfN()
2762 flags |= PF_R; in __elfN()
/freebsd-12-stable/usr.bin/gcore/
Delfcore.c317 phdr->p_flags |= PF_R; in cb_put_phdr()
524 phdr->p_flags = PF_R; in elf_puthdr()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
DELFDump.cpp274 << ((Phdr.p_flags & ELF::PF_R) ? "r" : "-") in printProgramHeaders()
/freebsd-12-stable/sys/sys/
Delf_common.h558 #define PF_R 0x4 /* Readable. */ macro
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
DELF.h1327 PF_R = 4, // Read enumerator
/freebsd-12-stable/contrib/binutils/bfd/
Delf.c1188 (p->p_flags & PF_R) != 0 ? 'r' : '-', in _bfd_elf_print_private_bfd_data()
1191 if ((p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)) != 0) in _bfd_elf_print_private_bfd_data()
1192 fprintf (f, " %lx", p->p_flags &~ (unsigned) (PF_R | PF_W | PF_X)); in _bfd_elf_print_private_bfd_data()
3896 m->p_flags = PF_R | PF_X; in _bfd_elf_map_sections_to_segments()
4119 m->p_flags = PF_R; in _bfd_elf_map_sections_to_segments()
4176 m->p_flags = PF_R; in _bfd_elf_map_sections_to_segments()
4494 p->p_flags |= PF_R; in assign_file_positions_for_load_sections()
4519 p->p_flags |= PF_R; in assign_file_positions_for_load_sections()
4657 p->p_flags |= PF_R; in assign_file_positions_for_load_sections()
Delfcode.h1670 if (i_phdrs[i].p_type == PT_LOAD && (i_phdrs[i].p_flags & PF_R)) in NAME()
1720 if (i_phdrs[i].p_type == PT_LOAD && (i_phdrs[i].p_flags & PF_R)) in NAME()
Delflink.c5395 elf_tdata (output_bfd)->stack_flags = PF_R | PF_W | PF_X; in bfd_elf_size_dynamic_sections()
5397 elf_tdata (output_bfd)->stack_flags = PF_R | PF_W; in bfd_elf_size_dynamic_sections()
5424 elf_tdata (output_bfd)->stack_flags = PF_R | PF_W | exec; in bfd_elf_size_dynamic_sections()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.cpp141 ((header.p_flags & llvm::ELF::PF_R) ? lldb::ePermissionsReadable : 0u) | in AddAddressRangeFromLoadSegment()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp1669 if (H.p_flags & PF_R) in GetPermissions()
3122 << (((p_flags & PF_W) && (p_flags & PF_R)) ? '+' : ' ') in DumpELFProgramHeader_p_flags()
3123 << ((p_flags & PF_R) ? "PF_R" : " "); in DumpELFProgramHeader_p_flags()
/freebsd-12-stable/contrib/elftoolchain/common/
Delfdefinitions.h930 _ELF_DEFINE_PF(PF_R, 0x4, "Read") \
/freebsd-12-stable/contrib/binutils/binutils/
Dreadelf.c3434 (segment->p_flags & PF_R ? 'R' : ' '), in process_program_headers()
3470 (segment->p_flags & PF_R ? 'R' : ' '), in process_program_headers()
3493 (segment->p_flags & PF_R ? 'R' : ' '), in process_program_headers()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
DELFYAML.cpp671 BCase(PF_R); in bitset()

12