/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | MachO_arm64.cpp | 61 if (RI.r_length == 3) in getRelocationKind() 63 else if (RI.r_length == 2) in getRelocationKind() 72 if (RI.r_length == 2) in getRelocationKind() 74 else if (RI.r_length == 3) 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() [all …]
|
H A D | MachO_x86_64.cpp | 60 if (RI.r_length == 3) in getRelocKind() 62 else if (RI.r_extern && RI.r_length == 2) 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() 84 if (RI.r_length == 2) in getRelocKind() 86 else if (RI.r_length == 3) in getRelocKind() 91 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind() 95 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind() [all …]
|
H A D | MachOLinkGraphBuilder.h | 176 RI.r_length = (ARI.r_word1 >> 25) & 3; in getRelocationInfo()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachORelocation.h | 28 uint8_t r_length; // length = 2 ^ r_length 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/sbin/ggate/ggated/ |
H A D | ggated.c | 85 #define r_length r_hdr.gh_length macro 723 __func__, req->r_offset, req->r_length); in recv_thread() 728 req->r_data = malloc_waitok(req->r_length); in recv_thread() 735 req->r_length); in recv_thread() 736 data = g_gate_recv(fd, req->r_data, req->r_length, in recv_thread() 785 assert(req->r_offset + req->r_length <= (uintmax_t)conn->c_mediasize); in disk_thread() 787 assert((req->r_length % conn->c_sectorsize) == 0); in disk_thread() 790 __func__, req->r_offset, req->r_length); in disk_thread() 798 data = pread(fd, req->r_data, req->r_length, in disk_thread() 802 data = pwrite(fd, req->r_data, req->r_length, in disk_thread() [all …]
|
/freebsd/sys/arm/include/ |
H A D | reloc.h | 44 r_length : 2, /* log base 2 of value's width */ member
|
/freebsd/sys/amd64/include/ |
H A D | reloc.h | 40 r_length : 2, /* log base 2 of value's width */ member
|
/freebsd/sys/i386/include/ |
H A D | reloc.h | 40 r_length : 2, /* log base 2 of value's width */ member
|
/freebsd/contrib/llvm-project/lld/MachO/Arch/ |
H A D | ARM64Common.cpp | 31 switch (rel.r_length) { in getEmbeddedAddend()
|
H A D | X86_64.cpp | 86 switch (rel.r_length) { in getEmbeddedAddend()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | InputFiles.cpp | 521 if (rel.r_length < 2 || rel.r_length > 3 || in validateRelocationInfo() 522 !relocAttrs.hasAttr(static_cast<RelocAttrBits>(1 << rel.r_length))) { in validateRelocationInfo() 524 error(message("has width " + std::to_string(1 << rel.r_length) + in validateRelocationInfo() 586 r.length = relInfo.r_length; in parseRelocations()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 463 // Offset within page, scaled by r_length. 467 // Offset within page of GOT slot, scaled by r_length. 473 // Offset within page of TLVP slot, scaled by r_length. 981 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/tools/llvm-objdump/ |
H A D | MachODump.cpp | 764 const unsigned r_length, const bool previous_arm_half){ in PrintRLength() argument 768 if ((r_length & 0x1) == 0) in PrintRLength() 772 if ((r_length & 0x1) == 0) in PrintRLength() 777 switch (r_length) { in PrintRLength() 791 outs() << format("?(%2d) ", r_length); in PrintRLength() 794 outs() << format("?(%2d) ", r_length); in PrintRLength() 815 const unsigned r_length = O->getAnyRelocationLength(RE); in PrintRelocationEntries() local 841 PrintRLength(cputype, r_type, r_length, previous_arm_half); in PrintRelocationEntries() 880 (unsigned int)r_address, r_pcrel, r_length, r_type, in PrintRelocationEntries() 899 PrintRLength(cputype, r_type, r_length, previous_arm_half); in PrintRelocationEntries() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | MachOBuilder.h | 214 r_length = Length;
|