Home
last modified time | relevance | path

Searched refs:r_pcrel (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachORelocation.h27 bool r_pcrel; // was relocated pc-relative already variable
37 return (1 << 31) | (r_pcrel << 30) | ((r_length & 3) << 28) | in getPackedFields()
40 return (r_symbolnum << 8) | (r_pcrel << 7) | ((r_length & 3) << 5) | in getPackedFields()
49 r_address(addr), r_symbolnum(index), r_pcrel(pcrel), r_length(len), in r_address()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_arm64.cpp60 if (!RI.r_pcrel) { in getRelocationKind()
71 if (!RI.r_pcrel && RI.r_extern) { in getRelocationKind()
79 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
83 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
87 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
91 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
95 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
99 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
103 if (!RI.r_pcrel && !RI.r_extern && RI.r_length == 2) in getRelocationKind()
107 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
[all …]
H A DMachO_x86_64.cpp59 if (!RI.r_pcrel) { in getRelocKind()
67 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
71 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
75 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
79 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
83 if (!RI.r_pcrel && RI.r_extern) { in getRelocKind()
91 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
95 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
99 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
103 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
[all …]
H A DMachOLinkGraphBuilder.h175 RI.r_pcrel = (ARI.r_word1 >> 24) & 1; in getRelocationInfo()
/freebsd/sys/arm/include/
H A Dreloc.h43 r_pcrel : 1, /* 1 if value should be pc-relative */ member
/freebsd/sys/amd64/include/
H A Dreloc.h39 r_pcrel : 1, /* 1 if value should be pc-relative */ member
/freebsd/sys/i386/include/
H A Dreloc.h39 r_pcrel : 1, /* 1 if value should be pc-relative */ member
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp515 if (relocAttrs.hasAttr(RelocAttrBits::PCREL) != rel.r_pcrel) in validateRelocationInfo()
516 error(message(Twine("must ") + (rel.r_pcrel ? "not " : "") + in validateRelocationInfo()
585 r.pcrel = relInfo.r_pcrel; in parseRelocations()
596 if (relInfo.r_pcrel) { in parseRelocations()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h981 uint32_t r_symbolnum : 24, r_pcrel : 1, r_length : 2, r_extern : 1,
987 uint32_t r_scattered : 1, r_pcrel : 1, r_length : 2, r_type : 4,
990 uint32_t r_address : 24, r_type : 4, r_length : 2, r_pcrel : 1,
982 uint32_t r_symbolnum : 24, r_pcrel : 1, r_length : 2, r_extern : 1, global() member
988 uint32_t r_scattered : 1, r_pcrel : 1, r_length : 2, r_type : 4, global() member
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h213 r_pcrel = PCRel;
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp814 const unsigned r_pcrel = O->getAnyRelocationPCRel(RE); in PrintRelocationEntries() local
835 if (r_pcrel) in PrintRelocationEntries()
880 (unsigned int)r_address, r_pcrel, r_length, r_type, in PrintRelocationEntries()
893 if (r_pcrel) in PrintRelocationEntries()
967 (unsigned int)r_address, r_pcrel, r_length, r_extern, in PrintRelocationEntries()