| /external/llvm/test/MC/ARM/ |
| D | target-expressions.s | 3 @ RUN: | FileCheck -check-prefix CHECK-RELOCATIONS %s 70 @ CHECK-RELOCATIONS: Relocations [ 71 @ CHECK-RELOCATIONS: 0x4 R_ARM_MOVW_ABS_NC function 0x0 72 @ CHECK-RELOCATIONS: 0x8 R_ARM_MOVT_ABS function 0x0 73 @ CHECK-RELOCATIONS: 0xC R_ARM_MOVW_ABS_NC function 0x0 74 @ CHECK-RELOCATIONS: 0x10 R_ARM_MOVT_ABS function 0x0 75 @ CHECK-RELOCATIONS: 0x34 R_ARM_MOVW_ABS_NC external 0x0 76 @ CHECK-RELOCATIONS: 0x38 R_ARM_MOVT_ABS external 0x0 77 @ CHECK-RELOCATIONS: 0x3C R_ARM_MOVW_ABS_NC external 0x0 78 @ CHECK-RELOCATIONS: 0x40 R_ARM_MOVT_ABS external 0x0 [all …]
|
| D | thumb-movwt-reloc.s | 3 @ RUN: | FileCheck -check-prefix CHECK-RELOCATIONS %s 23 @ CHECK-RELOCATIONS: Relocations [ 24 @ CHECK-RELOCATIONS: 0x2 R_ARM_THM_MOVW_ABS_NC function 0x0 25 @ CHECK-RELOCATIONS: 0x6 R_ARM_THM_MOVT_ABS function 0x0 26 @ CHECK-RELOCATIONS: ]
|
| D | eh-directive-personalityindex.s | 30 @ RELOC: Relocations [ 59 @ RELOC: Relocations [ 92 @ RELOC: Relocations [ 129 @ RELOC: Relocations [ 163 @ RELOC: Relocations [ 198 @ RELOC: Relocations [
|
| /external/llvm/test/MC/ARM/Windows/ |
| D | mov32t-range.s | 2 @ RUN: | llvm-readobj -r - | FileCheck -check-prefix CHECK-RELOCATIONS %s 28 @ CHECK-RELOCATIONS: Relocations [ 29 @ CHECK-RELOCATIONS: .text { 30 @ CHECK-RELOCATIONS: 0x0 IMAGE_REL_ARM_MOV32T .rdata 31 @ CHECK-RELOCATIONS-NOT: 0x4 IMAGE_REL_ARM_MOV32T .rdata 32 @ CHECK-RELOCATIONS: } 33 @ CHECK-RELOCATIONS: ]
|
| /external/llvm/docs/ |
| D | MCJITDesignAndImplementation.rst | 73 image must be loaded into suitable memory, relocations must be applied and 102 object image and for each section iterates through the relocations for 113 relocations have not yet been applied and the generated code is still not 117 relocations when loadObject completes. However, this shouldn't be 120 relocations are applied. It is possible to apply relocations multiple 148 external symbols and then apply all relocations for the object. 154 iterate through the list of relocations it has stored which are associated 160 sections and for each section iterates through a list of relocations that 163 relocations for which the symbol associated with the relocation is located 168 .. image:: MCJIT-resolve-relocations.png [all …]
|
| /external/llvm/test/ExecutionEngine/RuntimeDyld/ARM/ |
| D | COFF_Thumb.s | 93 .global relocations symbol 94 relocations: label 97 # rtdyld-check: *{4}relocations = function - section_addr(COFF_Thumb.s.tmp.obj, .text) 102 .long relocations(secrel32) @ IMAGE_REL_ARM_SECREL 103 # rtdyld-check: *{4}rel10 = relocations - section_addr(COFF_Thumb.s.tmp.obj, .data) 105 .secrel32 relocations @ IMAGE_REL_ARM_SECREL 106 # rtdyld-check: *{4}rel11 = relocations - section_addr(COFF_Thumb.s.tmp.obj, .data)
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/XCOFF/ |
| D | XCOFFReader.cpp | 35 // Relocations. in readSections() 37 auto Relocations = in readSections() local 38 XCOFFObj.relocations<XCOFFSectionHeader32, XCOFFRelocation32>(Sec); in readSections() 39 if (!Relocations) in readSections() 40 return Relocations.takeError(); in readSections() 41 for (const XCOFFRelocation32 &Rel : Relocations.get()) in readSections() 42 ReadSec.Relocations.push_back(Rel); in readSections()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
| D | MipsELFObjectWriter.cpp | 138 /// The relocations that need a matching low part are 205 /// Print all the relocations. 229 "MIPS does not support one byte relocations"); in getRelocType() 243 "MIPS does not support 64-bit PC-relative relocations"); in getRelocType() 422 /// MIPS has a few relocations that have an AHL component in the expression used 427 /// The O32 ABI for example, uses REL relocations which store the addend in the 428 /// section data. All the relocations with AHL components affect 16-bit fields 430 /// resolves the limitation by linking relocations (e.g. R_MIPS_HI16 and 431 /// R_MIPS_LO16) and distributing the addend between the linked relocations. The 432 /// ABI mandates that such relocations must be next to each other in a [all …]
|
| /external/llvm/test/Object/ |
| D | dyn-rel-relocation.test | 1 // Check that 'llvm-readobj -dyn-relocations' shows dynamic relocations 26 RUN: llvm-readobj -relocations -dyn-relocations -expand-relocs \ 29 // CHECK: Relocations [ 52 // CHECK: Dynamic Relocations {
|
| D | relocation-executable.test | 3 RUN: llvm-readobj -dyn-relocations -expand-relocs \ 6 // CHECK: Relocations [ 30 // DYN: Dynamic Relocations { 51 RUN: llvm-readobj -dyn-relocations -expand-relocs \ 54 // DYN2: Dynamic Relocations {
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Mips/MCTargetDesc/ |
| D | MipsELFObjectWriter.cpp | 138 /// The relocations that need a matching low part are 205 /// Print all the relocations. 231 "MIPS does not support one byte relocations"); in getRelocType() 399 /// MIPS has a few relocations that have an AHL component in the expression used 404 /// The O32 ABI for example, uses REL relocations which store the addend in the 405 /// section data. All the relocations with AHL components affect 16-bit fields 407 /// resolves the limitation by linking relocations (e.g. R_MIPS_HI16 and 408 /// R_MIPS_LO16) and distributing the addend between the linked relocations. The 409 /// ABI mandates that such relocations must be next to each other in a 416 /// - There may be multiple high parts relocations for one low part relocation. [all …]
|
| /external/llvm/test/MC/Mips/ |
| D | oddspreg.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 12 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 21 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 25 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 29 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 33 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 52 # CHECK-OBJ-ALL: Relocations [
|
| /external/coreboot/util/cbfstool/ |
| D | rmodule.c | 21 /* Only these 2 relocations are expected to be found. */ in valid_reloc_386() 31 /* R_386_32 relocations are absolute. Must emit these. */ in should_emit_386() 48 /* Only these 5 relocations are expected to be found. */ in valid_reloc_amd64() 67 /* Only emit absolute relocations */ in should_emit_amd64() 78 /* Only these 6 relocations are expected to be found. */ in valid_reloc_arm() 90 /* R_ARM_ABS32 relocations are absolute. Must emit these. */ in should_emit_arm() 202 /* No relocations in this section. */ in for_each_reloc() 315 /* Obtain section which relocations apply. */ in filter_relocation_sections() 323 /* Do not process relocations for debug sections. */ in filter_relocation_sections() 330 * If relocations apply to a non program section ignore the in filter_relocation_sections() [all …]
|
| /external/llvm/lib/Target/Mips/MCTargetDesc/ |
| D | MipsELFObjectWriter.cpp | 131 /// The relocations that need a matching low part are 197 /// Print all the relocations. 376 /// MIPS has a few relocations that have an AHL component in the expression used 381 /// The O32 ABI for example, uses REL relocations which store the addend in the 382 /// section data. All the relocations with AHL components affect 16-bit fields 384 /// resolves the limitation by linking relocations (e.g. R_MIPS_HI16 and 385 /// R_MIPS_LO16) and distributing the addend between the linked relocations. The 386 /// ABI mandates that such relocations must be next to each other in a 393 /// - There may be multiple high parts relocations for one low part relocation. 394 /// - There may be multiple low part relocations for one high part relocation. [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
| D | AArch64MachObjectWriter.cpp | 103 "ADR/ADRP relocations must be GOT relative"); in getAArch64FixupKindMachOInfo() 126 // Debug info sections can use local relocations. in canUseLocalRelocation() 130 // Otherwise, only pointer sized relocations are supported. in canUseLocalRelocation() 145 // FIXME: ld64 currently handles internal pointer-sized relocations in canUseLocalRelocation() 172 // ADRP fixups use relocations for the whole symbol value and only in recordRelocation() 178 // imm19 relocations are for conditional branches, which require in recordRelocation() 190 // 14-bit branch relocations should only target internal labels, and so in recordRelocation() 249 // We don't support PCrel relocations of differences. in recordRelocation() 257 // AArch64 always uses external relocations. If there is no symbol to use as in recordRelocation() 327 // Relocations inside debug sections always use local relocations when in recordRelocation() [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
| D | AArch64MachObjectWriter.cpp | 103 "ADR/ADRP relocations must be GOT relative"); in getAArch64FixupKindMachOInfo() 126 // Debug info sections can use local relocations. in canUseLocalRelocation() 130 // Otherwise, only pointer sized relocations are supported. in canUseLocalRelocation() 145 // FIXME: ld64 currently handles internal pointer-sized relocations in canUseLocalRelocation() 172 // ADRP fixups use relocations for the whole symbol value and only in recordRelocation() 178 // imm19 relocations are for conditional branches, which require in recordRelocation() 190 // 14-bit branch relocations should only target internal labels, and so in recordRelocation() 249 // We don't support PCrel relocations of differences. in recordRelocation() 257 // AArch64 always uses external relocations. If there is no symbol to use as in recordRelocation() 327 // Relocations inside debug sections always use local relocations when in recordRelocation() [all …]
|
| /external/llvm/test/MC/COFF/ |
| D | relocation-imgrel.s | 1 // COFF Image-relative relocations 3 // Test that we produce image-relative relocations (IMAGE_REL_I386_DIR32NB 17 // W32: Relocations [ 24 // W64: Relocations [
|
| /external/llvm/lib/Target/AArch64/MCTargetDesc/ |
| D | AArch64MachObjectWriter.cpp | 95 "ADR/ADRP relocations must be GOT relative"); in getAArch64FixupKindMachOInfo() 119 // Debug info sections can use local relocations. in canUseLocalRelocation() 123 // Otherwise, only pointer sized relocations are supported. in canUseLocalRelocation() 138 // FIXME: ld64 currently handles internal pointer-sized relocations in canUseLocalRelocation() 165 // ADRP fixups use relocations for the whole symbol value and only in recordRelocation() 171 // imm19 relocations are for conditional branches, which require in recordRelocation() 183 // 14-bit branch relocations should only target internal labels, and so in recordRelocation() 242 // We don't support PCrel relocations of differences. in recordRelocation() 250 // AArch64 always uses external relocations. If there is no symbol to use as in recordRelocation() 335 // Relocations inside debug sections always use local relocations when in recordRelocation() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/MCTargetDesc/ |
| D | RISCVFixupKinds.h | 73 // paired relocations. 76 // paired relocations. 89 // paired relocations. 92 // paired relocations. 95 // paired relocations. 98 // paired relocations.
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/MC/ |
| D | WinCOFFObjectWriter.cpp | 86 int Relocations = 0; member in __anonbe117c6f0111::COFFSymbol 111 using relocations = std::vector<COFFRelocation>; typedef 121 relocations Relocations; member in __anonbe117c6f0111::COFFSection 245 // Some relocations on ARM64 (the 21 bit ADRP relocations) have a slightly in WinCOFFObjectWriter() 561 if (Section->Relocations.size() >= 0xffff) in writeSectionHeaders() 626 // Write relocations for this section. in writeSection() 627 if (Sec.Relocations.empty()) { in writeSection() 636 if (Sec.Relocations.size() >= 0xffff) { in writeSection() 640 R.VirtualAddress = Sec.Relocations.size() + 1; in writeSection() 646 for (const auto &Relocation : Sec.Relocations) in writeSection() [all …]
|
| /external/llvm/test/ExecutionEngine/RuntimeDyld/X86/ |
| D | MachO_x86-64_PIC_relocations.s | 55 # don't have their relocations applied. 65 # Test subtractor relocations between named symbols. 70 # Test subtractor relocations between anonymous symbols. 75 # Test subtractor relocations between named and anonymous symbols. 80 # Test subtractor relocations between anonymous and named symbols.
|
| /external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| D | RuntimeDyldImpl.h | 64 /// relocations (like ARM). 72 /// for calculating relocations in some object formats (like MachO). 117 /// RelocationEntry - used to represent relocations internally in the dynamic 253 // For each symbol, keep a list of relocations based on it. Anytime 255 // the relocations get re-resolved. 259 // Relocations to sections already loaded. Indexed by SectionID which is the 262 std::unordered_map<unsigned, RelocationList> Relocations; variable 264 // Relocations to external symbols that are not yet resolved. Symbols are 278 // sections containing relocations should be. Defaults to 'false'. 382 /// \brief Resolves relocations from Relocs list with address from Value. [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
| D | WinCOFFObjectWriter.cpp | 84 int Relocations = 0; member in __anon325377e90111::COFFSymbol 109 using relocations = std::vector<COFFRelocation>; typedef 119 relocations Relocations; member in __anon325377e90111::COFFSection 569 if (Section->Relocations.size() >= 0xffff) in writeSectionHeaders() 634 // Write relocations for this section. in writeSection() 635 if (Sec.Relocations.empty()) { in writeSection() 644 if (Sec.Relocations.size() >= 0xffff) { in writeSection() 648 R.VirtualAddress = Sec.Relocations.size() + 1; in writeSection() 654 for (const auto &Relocation : Sec.Relocations) in writeSection() 683 // Don't drop relocations between functions, even if they are in the same text in isSymbolRefDifferenceFullyResolvedImpl() [all …]
|
| /external/llvm/bindings/python/llvm/ |
| D | object.py | 18 symbols, and relocations. These are represented by the classes ObjectFile, 30 relocations, call get_relocations() on a Section instance. 35 The LLVM bindings expose iteration over sections, symbols, and relocations in a 241 """Obtain the relocations in this Section. 251 relocations = lib.LLVMGetRelocations(self) 254 if lib.LLVMIsRelocationIteratorAtEnd(self, relocations): 257 last = Relocation(relocations) 263 lib.LLVMMoveToNextRelocation(relocations) 269 lib.LLVMDisposeRelocationIterator(relocations) 363 Relocations are created from objects derived from Section instances.
|
| /external/cronet/stable/third_party/boringssl/src/crypto/fipsmodule/ |
| D | FIPS.md | 59 … of relocations: places in the machine code where the linker needs to resolve and inject the final… 61 …of shared libraries and ASLR, some relocations can only be resolved at run-time, and thus targets … 65 …relocations in the hashed code and data. This document describes how we build C and assembly code … 81 The static build cannot depend on the shared-object link to resolve relocations and thus must take … 85 … assembly implementations of some primitives and to eliminate the remaining sources of relocations. 89 The most obvious cause of relocations are out-calls from the module to non-cryptographic functions … 113 …d. Otherwise, although the generated code uses IP-relative references, relocations are emitted for… 114 …ved to the `.text` section, inside the module, so module code may reference it without relocations. 133 1. OpenSSL deals with run-time relocations by not hashing parts of the module's data.
|