/frameworks/compile/mclinker/lib/Target/Hexagon/ |
HexagonLDBackend.h | 141 Relocation::Type getCopyRelType() const { return m_CopyRel; } 149 /// getRelEntrySize - the size in BYTE of rela type relocation 152 /// getRelaEntrySize - the size in BYTE of rela type relocation 177 /// m_RelaDyn - dynamic relocation table of .rela.dyn 179 /// m_RelaPLT - dynamic relocation table of .rela.plt 194 Relocation::Type m_CopyRel;
|
/hardware/intel/img/psb_video/src/mrst/ |
lnc_cmdbuf.h | 51 /* Relocation records */ 126 * relocation records, on error -1 is returned. 130 /* Creates a relocation record for a DWORD in the mapped "cmdbuf" at address 132 * The relocation is based on the device virtual address of "ref_buffer" 150 /* do relocation in PIC_PARAMS: src/dst Y/UV base, InParamsBase, CodeBase, BellowParamsBase, AboveParamsBase */ 153 /* do relocation in SLICE_PARAMS: reference Y/UV base,CodedData */
|
/hardware/intel/img/psb_video/src/ |
pnw_cmdbuf.h | 66 /* Relocation records */ 147 * relocation records, on error -1 is returned. 151 /* Creates a relocation record for a DWORD in the mapped "cmdbuf" at address 153 * The relocation is based on the device virtual address of "ref_buffer" 171 /* do relocation in PIC_PARAMS: src/dst Y/UV base, InParamsBase, CodeBase, BellowParamsBase, AboveParamsBase */ 174 /* do relocation in SLICE_PARAMS: reference Y/UV base,CodedData */
|
/toolchain/binutils/binutils-2.25/bfd/ |
riscix.c | 203 bfd_vma relocation; local 213 /* If the sections are different, and we are doing a partial relocation, 219 relocation = (target & 0x00ffffff) << 2; 220 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ 221 relocation += symbol->value; 222 relocation += symbol->section->output_section->vma; 223 relocation += symbol->section->output_offset; 224 relocation += reloc_entry->addend; 225 relocation -= input_section->output_section->vma [all...] |
elf32-mt.c | 45 /* Relocation tables. */ 63 /* A 16 bit absolute relocation. */ 78 /* A 32 bit absolute relocation. */ 93 /* A 32 bit pc-relative relocation. */ 108 /* A 16 bit pc-relative relocation. */ 163 table *must* match the order of the relocation types defined in 243 /* Perform a single relocation. By default we use the standard BFD 253 bfd_vma relocation) 257 relocation, rel->r_addend); 320 bfd_vma relocation; 319 bfd_vma relocation; local [all...] |
bfd-in2.h | 221 /* Symbols and relocation. */ 226 /* How to perform a relocation. */ 1521 struct reloc_cache_entry *relocation; member in struct:bfd_section [all...] |
aout-ns32k.c | 49 /* The ns32k series is ah, unusual, when it comes to relocation. 52 data. Of these, only the last fits into the standard relocation 58 whether the relocation is pc relative or not. The "displacement" 75 In addition, for historical reasons the encoding of the relocation types 76 in the a.out format relocation entries is such that even the relocation 299 /* If this relocation is relative to a symbol then set the 339 bfd_vma relocation, 357 return _bfd_relocate_contents (howto, input_bfd, relocation, 362 return _bfd_do_ns32k_reloc_contents (howto, input_bfd, relocation, [all...] |
elf32-m32r.c | 96 bfd_signed_vma relocation; local 104 relocation = symbol_value + addend; 106 relocation -= (input_section->output_section->vma 110 relocation -= (offset & -(bfd_vma) 4); 112 if (relocation < -0x200 || relocation > 0x1ff) 118 relocation >>= howto->rightshift; 119 relocation <<= howto->bitpos; 120 x = (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask); 161 /* Do generic partial_inplace relocation 174 bfd_vma relocation; local 322 bfd_vma relocation; local 2431 bfd_vma relocation; local [all...] |
elf32-m68hc1x.c | 435 /* Now examine each relocation. */ 886 /* This relocation describes the C++ object vtable hierarchy. 893 /* This relocation describes which C++ vtable entries are actually 948 bfd_vma relocation = 0; local 977 relocation = (sec->output_section->vma 990 h, sec, relocation, unresolved_reloc, [all...] |
elf32-d10v.c | 48 /* An PC Relative 10-bit relocation, shifted by 2, right container. */ 63 /* An PC Relative 10-bit relocation, shifted by 2, left container. */ 78 /* A 16 bit absolute relocation. */ 93 /* An 18 bit absolute relocation, right shifted 2. */ 108 /* A relative 18 bit relocation, right shifted by 2. */ 123 /* A 32 bit absolute relocation. */ 297 /* This relocation describes the C++ object vtable hierarchy. 304 /* This relocation describes which C++ vtable entries are actually 415 bfd_vma relocation; local 433 relocation = (sec->output_section->vm [all...] |
elf32-dlx.c | 62 bfd_vma relocation; local 87 relocation = (bfd_is_com_section (symbol->section)) ? 0 : symbol->value; 88 relocation += symbol->section->output_section->vma; 89 relocation += symbol->section->output_offset; 90 relocation += reloc_entry->addend; 91 relocation += bfd_get_16 (abfd, (bfd_byte *)data + reloc_entry->address); 96 bfd_put_16 (abfd, (short)((relocation >> 16) & 0xFFFF), 237 /* No relocation. */ 252 /* 8 bit relocation. */ 267 /* 16 bit relocation. * [all...] |
elf32-score7.c | 70 /* The index of the symbol, as stored in the relocation r_info, if 77 /* If abfd != NULL && symndx != -1, the addend of the relocation 182 /* The size of an external REL relocation. */ 192 /* This will be used when we sort the dynamic relocation records. */ 248 dangerous relocation. */ 330 (char *) _("GP relative relocation when _gp not defined"); 347 bfd_vma relocation; local 351 relocation = 0; 353 relocation = symbol->value; 355 relocation += symbol->section->output_section->vma 378 bfd_vma relocation; local 2282 bfd_vma relocation = 0; local [all...] |
elf32-cris.c | 55 /* An 8 bit absolute relocation. */ 70 /* A 16 bit absolute relocation. */ 85 /* A 32 bit absolute relocation. */ 105 /* An 8 bit PC-relative relocation. */ 120 /* A 16 bit PC-relative relocation. */ 135 /* A 32 bit PC-relative relocation. */ 337 /* A 32-bit offset from PC (location after the relocation) + addend to 642 0, 0, 0, 0, /* Replaced with offset into relocation table. */ 656 0, 0, 0, 0, /* Replaced with offset into relocation table. */ 695 0, 0, 0, 0, /* Replaced with offset into relocation table. * 1012 bfd_vma relocation; local [all...] |
som.h | 70 building relocation streams for incomplete objects. */ 73 /* How many times this symbol is used in a relocation. By sorting 75 reduce the size of the relocation stream for incomplete objects. */ 175 reloc_size holds the size of the relocation stream, note this 179 reloc_stream is the actual stream of relocation entries. */ 211 The idea is both SOM and ELF define these basic relocation 212 types so they map into a SOM or ELF specific relocation as
|
/toolchain/binutils/binutils-2.25/gas/doc/ |
c-cr16.texi | 37 - @code{Specifies the CR16 Assembler generates a relocation entry for the operand, where pc has implied bit, the expression is adjusted accordingly. The linker uses the relocation entry to update the operand address at link time.} 39 - @code{Specifies the CR16 Assembler generates a relocation entry for the operand, offset from Global Offset Table. The linker uses this relocation entry to update the operand address at link time} 41 - @code{Specifies the CompactRISC Assembler generates a relocation entry for the operand, where pc has implied bit, the expression is adjusted accordingly. The linker uses the relocation entry to update the operand address at link time.}
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMachObjectWriter.cpp | 175 // Select the appropriate difference relocation type. 194 // relocation entry in the low 16 bits of r_address field. 202 // relocation, but it will be set in FixedValue if the base symbol 281 // Select the appropriate difference relocation type. 336 // BL/BLX also use external relocations when an internal relocation 341 // If the resultant value would be out of range for an internal relocation, 359 // relocation type for the fixup kind. This happens when it's a fixup that's 363 "unsupported relocation on symbol"); 368 // scattered relocation entry. Differences always require scattered 385 // internal relocations with offsets. If this is an internal relocation wit [all...] |
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCMachObjectWriter.cpp | 48 report_fatal_error("Relocation emission for MachO/PPC64 unimplemented."); 56 /// computes the log2 of the size of the relocation, 81 /// Translates generic PPC fixup kind to Mach-O/PPC relocation type enum. 90 // determine the type of the relocation 187 /// \return false if falling back to using non-scattered relocation, 188 /// otherwise true for normal scattered relocation. 201 // Is this a local or SECTDIFF relocation entry? 202 // SECTDIFF relocation entries have symbol subtractions, 239 // If the offset is too large to fit in a scattered relocation, 248 "relocation entry.") [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | 232 llvm_unreachable("Relocation type not implemented yet!"); 299 // There are other relocation types, but it appears these are the 301 llvm_unreachable("Relocation type not implemented yet!"); 322 llvm_unreachable("Relocation type not implemented yet!"); 347 // bits affected by the relocation on entry is garbage. 357 // bits affected by the relocation on entry is garbage. 362 assert((*TargetPtr >> 21 & 0x3) == 3 && "invalid shift for relocation"); 369 // bits affected by the relocation on entry is garbage. 374 assert((*TargetPtr >> 21 & 0x3) == 2 && "invalid shift for relocation"); 381 // bits affected by the relocation on entry is garbage [all...] |
/external/llvm/docs/ |
MCJITDesignAndImplementation.rst | 93 headers, including section, symbol and relocation information.
103 that sections. For each relocation, it calls the format-specific
104 processRelocationRef method, which will examine the relocation and store
105 it in one of two data structures, a section-based relocation list map and
106 an external symbol relocation map.
112 memory manager and relocation information will have been prepared, but the
156 format-specific implementation, will apply the relocation to the loaded
162 each entry in this list. The relocation list here is a list of
163 relocations for which the symbol associated with the relocation is located
165 have a target location at which the relocation will be applied that is [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsLDBackend.h | 38 bool needsLA25Stub(Relocation::Type pType, const mcld::ResolveInfo* pSym); 144 bool relaxRelocation(IRBuilder& pBuilder, Relocation& pRel); 171 Relocation::Type& pType, 177 Relocation::Type& pType, 184 Relocation::Type& pType, 190 Relocation::Type& pType, 197 Relocation::Type pType, 203 Relocation::Type pType, 210 Relocation::Type pType, 216 Relocation::Type pType [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectWriter.cpp | 63 case LDFileFormat::Relocation: 102 case LDFileFormat::Relocation: 103 // sort relocation for the benefit of the dynamic linker. 385 case LDFileFormat::Relocation: 473 llvm::report_fatal_error("unsupported relocation section type!"); 487 const Relocation* relocation = 0; local 496 relocation = &(llvm::cast<Relocation>(*it)); 497 frag_ref = &(relocation->targetRef()) 529 const Relocation* relocation = 0; local [all...] |
/external/v8/src/ia32/ |
deoptimizer-ia32.cc | 29 // Compute the size of relocation information needed for the code 51 // If the relocation information is not big enough we create a new 52 // relocation info object that is padded with comments to make it 64 // Allocate new relocation info and copy old relocation to the end 65 // of the new relocation info array because relocation info is 72 // Create a relocation writer to write the comments in the padding 87 // Replace relocation information on the code object. 117 // We will overwrite the code's relocation info in-place. Relocation inf [all...] |
/external/v8/src/x87/ |
deoptimizer-x87.cc | 29 // Compute the size of relocation information needed for the code 51 // If the relocation information is not big enough we create a new 52 // relocation info object that is padded with comments to make it 64 // Allocate new relocation info and copy old relocation to the end 65 // of the new relocation info array because relocation info is 72 // Create a relocation writer to write the comments in the padding 87 // Replace relocation information on the code object. 117 // We will overwrite the code's relocation info in-place. Relocation inf [all...] |
/external/llvm/include/llvm/MC/ |
MCMachObjectWriter.h | 88 /// \name Relocation Data 196 // FIXME: We really need to improve the relocation validation. Basically, we 197 // want to implement a separate computation which evaluates the relocation 202 // - Relocation entry bugs, the two algorithms are unlikely to have the same 210 // Add a relocation to be output in the object file. At the time this is 211 // called, the symbol indexes are not know, so if the relocation refers 213 // afterwards. If the relocation doesn't refer to a symbol, nullptr should be
|
/external/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ |
ELF_Mips64r2N64_PIC_relocations.s | 1 # RUN: llvm-mc -triple=mips64el-unknown-linux -relocation-model=pic -code-model=small -filetype=obj -o %T/test_ELF_Mips64N64.o %s 2 # RUN: llc -mtriple=mips64el-unknown-linux -relocation-model=pic -filetype=obj -o %T/test_ELF_ExternalFunction_Mips64N64.o %S/Inputs/ExternalFunction.ll 5 # RUN: llvm-mc -triple=mips64-unknown-linux -relocation-model=pic -code-model=small -filetype=obj -o %T/test_ELF_Mips64N64.o %s 6 # RUN: llc -mtriple=mips64-unknown-linux -relocation-model=pic -filetype=obj -o %T/test_ELF_ExternalFunction_Mips64N64.o %S/Inputs/ExternalFunction.ll 10 # Test R_MIPS_PC32 relocation. 45 # Test R_MIPS_26 relocation. 53 # Test R_MIPS_PC16 relocation.
|