/external/chromium_org/tools/relocation_packer/src/ |
H A D | delta_encoder.cc | 19 // 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 D | packer_unittest.cc | 15 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 D | run_length_encoder_unittest.cc | 15 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 D | delta_encoder_unittest.cc | 17 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 D | run_length_encoder.cc | 72 // 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 D | test_object.py | 61 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 D | rdftest1.asm | 4 ;; [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 D | rdfseg.asm | 4 ;; [2] should produce standard relocation
|
/external/llvm/test/MC/MachO/ARM/ |
H A D | bad-darwin-ARM-reloc.s | 9 @ CHECK-ERROR: unsupported relocation on symbol
|
H A D | long-call-branch-island-relocation.s | 21 @ 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 D | elf-thumbfunc-reloc.s | 23 @@ 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 D | eh-compact-pr0.s | 63 @ 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 D | eh-directive-handlerdata.s | 43 @ 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 D | eh-compact-pr1.s | 67 @ another relocation entry for __aeabi_unwind_cpp_pr1, so that the linker
|
H A D | eh-directive-text-section.s | 77 @ add an relocation to __aeabi_unwind_cpp_pr0.
|
/external/chromium_org/base/third_party/symbolize/ |
H A D | symbolize.h | 120 uint64 relocation);
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_elf_relocations.cpp | 35 // 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 D | MachO_x86-64_PIC_relocations.s | 1 # 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 D | ppc64-initial-cfa.s | 1 # 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 D | hello-reloc.s | 2 ; 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 D | elf_mem_image.cc | 252 ptrdiff_t relocation = local 256 relocation); 267 value += relocation; 271 value += relocation;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | elf_mem_image.cc | 252 ptrdiff_t relocation = local 256 relocation); 267 value += relocation; 271 value += relocation;
|
/external/llvm/test/MC/Mips/ |
H A D | hilo-addressing.s | 39 # Check that relocation isn't emitted for %hi(label1 - label2) and
|
/external/llvm/test/MC/Sparc/ |
H A D | sparc-pic.s | 1 ! RUN: llvm-mc %s -arch=sparcv9 --relocation-model=pic -filetype=obj | llvm-readobj -r | FileCheck %s
|
/external/llvm/utils/TableGen/ |
H A D | X86RecognizableInstr.cpp | 532 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...] |