Searched refs:relocation (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/tools/relocation_packer/src/
H A Ddelta_encoder.cc19 // One relocation is sufficient for delta encoding.
30 const ELF::Rela* relocation = &relocations[i]; local
31 CHECK(ELF_R_TYPE(relocation->r_info) == ELF::kRelativeRelocationCode);
33 packed->push_back(relocation->r_offset - offset);
34 offset = relocation->r_offset;
35 packed->push_back(relocation->r_addend - addend);
36 addend = relocation->r_addend;
63 // Generate a relocation for this offset and addend pair.
64 ELF::Rela relocation; local
65 relocation
[all...]
H A Dpacker_unittest.cc15 ELF::Rel relocation; local
16 relocation.r_offset = addr;
17 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
18 relocations->push_back(relocation);
21 bool CheckRelocation(ELF::Addr addr, const ELF::Rel& relocation) { argument
22 return relocation.r_offset == addr &&
23 ELF_R_SYM(relocation.r_info) == 0 &&
24 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode;
30 ELF::Rela relocation; local
31 relocation
37 CheckRelocation(ELF::Addr addr, ELF::Sxword addend, const ELF::Rela& relocation) argument
[all...]
H A Drun_length_encoder_unittest.cc15 ELF::Rel relocation; local
16 relocation.r_offset = addr;
17 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
18 relocations->push_back(relocation);
21 bool CheckRelocation(ELF::Addr addr, const ELF::Rel& relocation) { argument
22 return relocation.r_offset == addr &&
23 ELF_R_SYM(relocation.r_info) == 0 &&
24 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode;
42 // Add one relocation (insufficient data to encode).
50 // Add a second relocation,
[all...]
H A Ddelta_encoder_unittest.cc17 ELF::Rela relocation; local
18 relocation.r_offset = addr;
19 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
20 relocation.r_addend = addend;
21 relocations->push_back(relocation);
26 const ELF::Rela& relocation) {
27 return relocation.r_offset == addr &&
28 ELF_R_SYM(relocation.r_info) == 0 &&
29 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode &&
30 relocation
24 CheckRelocation(ELF::Addr addr, ELF::Sxword addend, const ELF::Rela& relocation) argument
[all...]
H A Drun_length_encoder.cc72 // The first relocation is just one created from the initial address.
88 ELF::Rel relocation; local
89 relocation.r_offset = addr;
90 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
91 relocations->push_back(relocation);
103 // If we have zero or one relocation only then there is no packing
/external/llvm/bindings/python/llvm/tests/
H A Dtest_object.py61 for relocation in section.get_relocations():
62 assert isinstance(relocation, Relocation)
63 assert isinstance(relocation.address, long)
64 assert isinstance(relocation.offset, long)
65 assert isinstance(relocation.type_number, long)
66 assert isinstance(relocation.type_name, str)
67 assert isinstance(relocation.value_string, str)
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/tests/
H A Drdftest1.asm4 ;; [1] relocation within the same segment in each module
5 ;; [2] relocation to different segments in same module
6 ;; [3] relocation to same segment in different module
7 ;; [4] relocation to different segment in different module
8 ;; [5] relative relocation to same module
9 ;; [6] relative relocation to different module
H A Drdfseg.asm4 ;; [2] should produce standard relocation
/external/llvm/test/MC/MachO/ARM/
H A Dbad-darwin-ARM-reloc.s9 @ CHECK-ERROR: unsupported relocation on symbol
H A Dlong-call-branch-island-relocation.s21 @ Make the _foo symbol sufficiently far away to force the 'bl' relocation
23 @ generating an external relocation so the linker can create a branch
/external/llvm/test/MC/ARM/
H A Delf-thumbfunc-reloc.s23 @@ make sure an R_ARM_THM_CALL relocation is generated for the call to g
30 @@ make sure the relocation is with f. That is one way to make sure it includes
H A Deh-compact-pr0.s63 @ another relocation entry for __aeabi_unwind_cpp_pr0, so that the linker
98 @ another relocation entry for __aeabi_unwind_cpp_pr0, so that the linker
H A Deh-directive-handlerdata.s43 @ We should see a relocation entry to __aeabi_unwind_cpp_pr0, so that the
100 @ We should see a relocation entry to __aeabi_unwind_cpp_pr0, so that the
H A Deh-compact-pr1.s67 @ another relocation entry for __aeabi_unwind_cpp_pr1, so that the linker
H A Deh-directive-text-section.s77 @ add an relocation to __aeabi_unwind_cpp_pr0.
/external/chromium_org/base/third_party/symbolize/
H A Dsymbolize.h120 uint64 relocation);
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_elf_relocations.cpp35 // Processor-specific relocation types supported by the linker.
89 // List of known relocation types the relocator knows about.
98 // Convert an ELF relocation type info a RelocationType value.
378 // Emit initial relative relocation.
379 ELF::Rel relocation; local
380 relocation.r_offset = start_address;
381 relocation.r_info = ELF_R_INFO(0, RELATIVE_RELOCATION_CODE);
384 if (!ApplyRelReloc(&relocation, sym_addr, resolved, error))
396 relocation.r_offset += delta;
397 if (!ApplyRelReloc(&relocation, sym_add
429 ELF::Rela relocation; local
[all...]
/external/llvm/test/ExecutionEngine/RuntimeDyld/X86/
H A DMachO_x86-64_PIC_relocations.s1 # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %t.o %s
/external/llvm/test/MC/PowerPC/
H A Dppc64-initial-cfa.s1 # RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -relocation-model=static %s | \
3 # RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -relocation-model=pic %s | \
5 # RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -relocation-model=static %s | \
7 # RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -relocation-model=pic %s | \
/external/llvm/test/CodeGen/PowerPC/
H A Dhello-reloc.s2 ; which is responsible for writing mach-o relocation entries for (PIC)
5 ; RUN: llvm-mc -filetype=obj -relocation-model=pic -mcpu=g4 -triple=powerpc-apple-darwin8 %s -o - | llvm-readobj -relocations | FileCheck -check-prefix=DARWIN-G4-DUMP %s
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Delf_mem_image.cc252 ptrdiff_t relocation = local
256 relocation);
267 value += relocation;
271 value += relocation;
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Delf_mem_image.cc252 ptrdiff_t relocation = local
256 relocation);
267 value += relocation;
271 value += relocation;
/external/llvm/test/MC/Mips/
H A Dhilo-addressing.s39 # Check that relocation isn't emitted for %hi(label1 - label2) and
/external/llvm/test/MC/Sparc/
H A Dsparc-pic.s1 ! RUN: llvm-mc %s -arch=sparcv9 --relocation-model=pic -filetype=obj | llvm-readobj -r | FileCheck %s
/external/llvm/utils/TableGen/
H A DX86RecognizableInstr.cpp532 HANDLE_OPERAND(relocation);
535 HANDLE_OPERAND(relocation);
538 HANDLE_OPERAND(relocation);
539 HANDLE_OPERAND(relocation);
546 HANDLE_OPTIONAL(relocation)
551 HANDLE_OPERAND(relocation);
559 HANDLE_OPTIONAL(relocation)
690 // Operand 2 (optional) is an immediate or relocation.
703 HANDLE_OPTIONAL(relocation)
717 // Operand 2 (optional) is an immediate or relocation
[all...]

Completed in 535 milliseconds

12