Home
last modified time | relevance | path

Searched refs:relocations (Results 1 – 25 of 125) sorted by relevance

12345

/external/chromium_org/tools/relocation_packer/src/
Drun_length_encoder_unittest.cc13 void AddRelocation(Elf32_Addr addr, std::vector<Elf32_Rel>* relocations) { in AddRelocation() argument
15 relocations->push_back(relocation); in AddRelocation()
27 std::vector<Elf32_Rel> relocations; in TEST() local
33 codec.Encode(relocations, &packed); in TEST()
38 AddRelocation(0xf00d0000, &relocations); in TEST()
41 codec.Encode(relocations, &packed); in TEST()
46 AddRelocation(0xf00d0004, &relocations); in TEST()
49 codec.Encode(relocations, &packed); in TEST()
61 AddRelocation(0xf00d0008, &relocations); in TEST()
64 AddRelocation(0xf00d0010, &relocations); in TEST()
[all …]
Dpacker_unittest.cc13 void AddRelocation(Elf32_Addr addr, std::vector<Elf32_Rel>* relocations) { in AddRelocation() argument
15 relocations->push_back(relocation); in AddRelocation()
27 std::vector<Elf32_Rel> relocations; in TEST() local
33 AddRelocation(0xd1ce0000, &relocations); in TEST()
35 AddRelocation(0xd1ce0004, &relocations); in TEST()
36 AddRelocation(0xd1ce0008, &relocations); in TEST()
38 AddRelocation(0xd1ce0010, &relocations); in TEST()
39 AddRelocation(0xd1ce0018, &relocations); in TEST()
40 AddRelocation(0xd1ce0020, &relocations); in TEST()
43 packer.PackRelativeRelocations(relocations, &packed); in TEST()
[all …]
Drun_length_encoder.cc21 void GetDeltas(const std::vector<Elf32_Rel>& relocations, in GetDeltas() argument
23 CHECK(relocations.size() >= 2); in GetDeltas()
25 for (size_t i = 0; i < relocations.size() - 1; ++i) { in GetDeltas()
26 const Elf32_Addr first = relocations[i].r_offset; in GetDeltas()
27 const Elf32_Addr second = relocations[i + 1].r_offset; in GetDeltas()
70 std::vector<Elf32_Rel>* relocations) { in Uncondense() argument
73 relocations->push_back(initial); in Uncondense()
86 relocations->push_back(relocation); in Uncondense()
96 void RelocationRunLengthCodec::Encode(const std::vector<Elf32_Rel>& relocations, in Encode() argument
100 if (relocations.size() < 2) in Encode()
[all …]
Dpacker.cc22 const std::vector<Elf32_Rel>& relocations, in PackRelativeRelocations() argument
28 codec.Encode(relocations, &packed_words); in PackRelativeRelocations()
55 std::vector<Elf32_Rel>* relocations) { in UnpackRelativeRelocations() argument
66 codec.Decode(packed_words, relocations); in UnpackRelativeRelocations()
Delf_file.cc637 const std::vector<Elf32_Rel>& relocations) { in AdjustRelocationTargets() argument
655 for (size_t i = 0; i < relocations.size(); ++i) { in AdjustRelocationTargets()
656 const Elf32_Rel* relocation = &relocations[i]; in AdjustRelocationTargets()
691 std::vector<Elf32_Rel>* relocations) { in PadRelocations() argument
694 relocations->insert(relocations->end(), padding.begin(), padding.end()); in PadRelocations()
702 std::vector<Elf32_Rel>* relocations) { in AdjustRelocations() argument
703 for (size_t i = 0; i < relocations->size(); ++i) { in AdjustRelocations()
704 Elf32_Rel* relocation = &relocations->at(i); in AdjustRelocations()
728 std::vector<Elf32_Rel> relocations( in PackRelocations() local
730 relocations_base + data->d_size / sizeof(relocations[0])); in PackRelocations()
[all …]
Dpacker.h39 static void PackRelativeRelocations(const std::vector<Elf32_Rel>& relocations,
46 std::vector<Elf32_Rel>* relocations);
Drun_length_encoder.h69 static void Encode(const std::vector<Elf32_Rel>& relocations,
76 std::vector<Elf32_Rel>* relocations);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/tests/nasm64/
Dmacho-reloc64-err.errwarn1 -:20: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
2 -:21: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
3 -:23: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
4 -:24: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
5 -:25: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
6 -:26: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
7 -:27: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
/external/llvm/docs/CommandGuide/
Dllvm-readobj.rst42 .. option:: -section-relocations, -sr
44 When used with ``-sections``, display relocations for each section shown.
50 .. option:: -relocations, -r
68 When used with ``-relocations``, display each relocation in an expanded
/external/chromium_org/tools/relocation_packer/
DREADME.TXT4 R_ARM_RELATIVE relocations are the bulk of dynamic relocations (the .rel.dyn
9 relocations are placed in a new .android.rel.dyn section. Packing reduces
15 extended to understand packed relocations. Packed relocations are currently
66 To pack relocations, add an empty .android.rel.dyn and then run the tool:
/external/llvm/docs/
DMCJITDesignAndImplementation.rst73 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/MC/Mips/
Dhigher-highest-addressing.s8 # Test that R_MIPS_HIGHER and R_MIPS_HIGHEST relocations are created. By using
10 # relocations.
32 # Check the case where relocations are not modified by adding +1. The constant
Dmicromips-jump26.s8 # for relocations.
16 # Check that the appropriate relocations were created.
Dmicromips-tailr.s8 # for relocations.
18 # Check that the appropriate relocations were created.
Doddspreg.s5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
12 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
19 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
Dmicromips-branch16.s8 # for relocations.
47 # Check that the appropriate relocations were created.
/external/llvm/bindings/python/llvm/
Dobject.py251 relocations = lib.LLVMGetRelocations(self)
254 if lib.LLVMIsRelocationIteratorAtEnd(self, relocations):
257 last = Relocation(relocations)
263 lib.LLVMMoveToNextRelocation(relocations)
269 lib.LLVMDisposeRelocationIterator(relocations)
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_elf_relro.cpp118 ElfRelocations relocations; in CopyFromRelocated() local
119 if (!relocations.Init(view, error)) in CopyFromRelocated()
131 relocations.CopyAndRelocate(relro_start, in CopyFromRelocated()
Dcrazy_linker_shared_library.cpp293 ElfRelocations relocations; in Relocate() local
295 if (!relocations.Init(&view_, error)) in Relocate()
299 if (!relocations.ApplyAll(&symbols_, &resolver, error)) in Relocate()
/external/llvm/test/MC/PowerPC/
Dppc64-relocs-01.s24 # The relocations in .rela.text are the 'number64' load using a
32 # The .opd entry for the 'access_int64' function creates 2 relocations:
/external/llvm/test/Object/
Dyaml2obj-readobj.test1 RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers -relocations -expand-relocs - |…
3 RUN: llvm-readobj -file-headers -relocations -expand-relocs %t \
/external/llvm/test/CodeGen/AArch64/
Dextern-weak.ll15 ; In the large model, the usual relocations are absolute and can
36 ; In the large model, the usual relocations are absolute and can
Darm64-extern-weak.ll14 ; In the large model, the usual relocations are absolute and can
32 ; In the large model, the usual relocations are absolute and can
/external/valgrind/main/
Dexp-sgcheck.supp2 ld-2.X possibly applying relocations
/external/llvm/test/ExecutionEngine/MCJIT/
D2013-04-04-RelocAddend.ll3 ; Verify relocations to global symbols with addend work correctly.

12345