Home
last modified time | relevance | path

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

/freebsd/usr.sbin/btxld/
H A Delfh.c69 htole32(PF_R | PF_X), /* p_flags */
79 htole32(PF_R | PF_W), /* p_flags */
/freebsd/sys/x86/x86/
H A Ddump_machdep.c70 phdr.p_flags = PF_R; in dumpsys_write_aux_headers()
/freebsd/sys/arm/arm/
H A Ddump_machdep.c89 phdr.p_flags = PF_R; /* XXX */ in dumpsys_write_aux_headers()
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp2046 addPhdrForSection(part, SHT_ARM_EXIDX, PT_ARM_EXIDX, PF_R); in finalizeSections()
2050 addPhdrForSection(part, SHT_MIPS_REGINFO, PT_MIPS_REGINFO, PF_R); in finalizeSections()
2051 addPhdrForSection(part, SHT_MIPS_OPTIONS, PT_MIPS_OPTIONS, PF_R); in finalizeSections()
2052 addPhdrForSection(part, SHT_MIPS_ABIFLAGS, PT_MIPS_ABIFLAGS, PF_R); in finalizeSections()
2056 PF_R); in finalizeSections()
2222 if (osec->getPhdrFlags() != (PF_R | PF_X)) in checkExecuteOnlyReport()
2299 return PF_R | PF_W | PF_X; in computeFlags()
2301 return flags & ~PF_R; in computeFlags()
2320 uint64_t flags = computeFlags(ctx, PF_R); in createPhdrs()
2329 addHdr(PT_PHDR, PF_R)->add(ctx.out.programHeaders.get()); in createPhdrs()
[all …]
H A DOutputSections.cpp49 ret |= PF_R; in getPhdrFlags()
H A DLinkerScript.cpp1707 std::make_unique<PhdrEntry>(ctx, cmd.type, cmd.flags.value_or(PF_R)); in createPhdrs()
/freebsd/libexec/rtld-elf/
H A Dmap_object.c116 stack_flags = PF_X | PF_R | PF_W; in map_object()
511 if ((elfflags & PF_R) != 0) in convert_prot()
H A Drtld.c1724 obj->stack_flags = PF_X | PF_R | PF_W; in digest_phdr()
2469 obj->stack_flags = PF_X | PF_R | PF_W; in parse_rtld_phdr()
/freebsd/sys/dev/ksyms/
H A Dksyms.c309 hdr->kh_txtphdr.p_flags = PF_R | PF_X; in ksyms_snapshot()
315 hdr->kh_datphdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
/freebsd/sys/conf/
H A Dvdso_amd64.ldscript45 text PT_LOAD FILEHDR PHDRS FLAGS(5); /* PF_R|PF_X */
H A Dvdso_amd64_ia32.ldscript46 text PT_LOAD FILEHDR PHDRS FLAGS(5); /* PF_R|PF_X */
/freebsd/usr.bin/gcore/
H A Delfcore.c297 phdr->p_flags |= PF_R; in cb_put_phdr()
543 phdr->p_flags = PF_R; in elf_puthdr()
/freebsd/sys/kern/
H A Dkern_dump.c258 phdr.p_flags = PF_R; /* XXX */ in cb_dumphdr()
H A Dimgact_elf.c2041 phdr->p_flags = PF_R; in __elfN()
3020 if (flags & PF_R) in __elfN()
3023 if (i386_read_exec && (flags & PF_R)) in __elfN()
3038 flags |= PF_R; in __elfN()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp339 << ((Phdr.p_flags & ELF::PF_R) ? "r" : "-") in printProgramHeaders()
/freebsd/sys/sys/
H A Delf_common.h588 #define PF_R 0x4 /* Readable. */ macro
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1601 PF_R = 4, // Read enumerator
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1722 if (H.p_flags & PF_R) in GetPermissions()
3363 << (((p_flags & PF_W) && (p_flags & PF_R)) ? '+' : ' ') in DumpELFProgramHeader_p_flags()
3364 << ((p_flags & PF_R) ? "PF_R" : " "); in DumpELFProgramHeader_p_flags()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp137 ((header.p_flags & llvm::ELF::PF_R) ? lldb::ePermissionsReadable : 0u) | in AddAddressRangeFromLoadSegment()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc643 if (Flags & PF_R)
/freebsd/contrib/elftoolchain/common/
H A Delfdefinitions.h930 _ELF_DEFINE_PF(PF_R, 0x4, "Read") \
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFYAML.cpp776 BCase(PF_R); in bitset()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp1530 LLVM_READOBJ_ENUM_ENT(ELF, PF_R)
4711 Str = (Flag & PF_R) ? "R" : " "; in printPhdrFlags()
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c2492 phdr.p_flags & PF_R ? 'R' : ' ', \ in dump_phdr()