/external/chromium_org/tools/relocation_packer/src/ |
run_length_encoder_unittest.cc | 13 void AddRelocation(Elf32_Addr addr, std::vector<Elf32_Rel>* relocations) { 15 relocations->push_back(relocation); 27 std::vector<Elf32_Rel> relocations; local 33 codec.Encode(relocations, &packed); 38 AddRelocation(0xf00d0000, &relocations); 41 codec.Encode(relocations, &packed); 46 AddRelocation(0xf00d0004, &relocations); 49 codec.Encode(relocations, &packed); 61 AddRelocation(0xf00d0008, &relocations); 63 // Add three more relocations, 8 byte deltas 86 std::vector<Elf32_Rel> relocations; local [all...] |
packer_unittest.cc | 13 void AddRelocation(Elf32_Addr addr, std::vector<Elf32_Rel>* relocations) { 15 relocations->push_back(relocation); 27 std::vector<Elf32_Rel> relocations; local 33 AddRelocation(0xd1ce0000, &relocations); 34 // Two more relocations, 4 byte deltas. 35 AddRelocation(0xd1ce0004, &relocations); 36 AddRelocation(0xd1ce0008, &relocations); 37 // Three more relocations, 8 byte deltas. 38 AddRelocation(0xd1ce0010, &relocations); 39 AddRelocation(0xd1ce0018, &relocations); 72 std::vector<Elf32_Rel> relocations; local [all...] |
packer.h | 5 // Pack R_ARM_RELATIVE relocations into a more compact form. 8 // turns a large set of R_ARM_RELATIVE relocations into a much smaller set 32 // A RelocationPacker packs vectors of R_ARM_RELATIVE relocations into more 36 // Pack R_ARM_RELATIVE relocations into a more compact form. 37 // |relocations| is a vector of R_ARM_RELATIVE relocation structs. 38 // |packed| is the vector of packed bytes into which relocations are packed. 39 static void PackRelativeRelocations(const std::vector<Elf32_Rel>& relocations, 42 // Unpack R_ARM_RELATIVE relocations from their more compact form. 43 // |packed| is the vector of packed relocations. 44 // |relocations| is a vector of unpacked R_ARM_RELATIVE relocation structs [all...] |
run_length_encoder.h | 5 // Run-length encode and decode R_ARM_RELATIVE relocations. 7 // R_ARM_RELATIVE relocations are the bulk of dynamic relocations (the 31 // set of R_ARM_RELATIVE relocations in libchrome.<version>.so can be 38 // Decoding regenerates R_ARM_RELATIVE relocations beginning at address 43 // count pairs. A final run-length encoded R_ARM_RELATIVE relocations vector 62 // A RelocationRunLengthCodec packs vectors of R_ARM_RELATIVE relocations 66 // Encode R_ARM_RELATIVE relocations into a more compact form. 67 // |relocations| is a vector of R_ARM_RELATIVE relocation structs. 68 // |packed| is the vector of packed words into which relocations are packed [all...] |
run_length_encoder.cc | 20 // R_ARM_RELATIVE relocations. 21 void GetDeltas(const std::vector<Elf32_Rel>& relocations, 23 CHECK(relocations.size() >= 2); 25 for (size_t i = 0; i < relocations.size() - 1; ++i) { 26 const Elf32_Addr first = relocations[i].r_offset; 27 const Elf32_Addr second = relocations[i + 1].r_offset; 70 std::vector<Elf32_Rel>* relocations) { 73 relocations->push_back(initial); 82 // Generate relocations for this count and delta pair. 86 relocations->push_back(relocation) [all...] |
packer.cc | 19 // Pack R_ARM_RELATIVE relocations into a run-length encoded packed 22 const std::vector<Elf32_Rel>& relocations, 28 codec.Encode(relocations, &packed_words); 51 // Unpack R_ARM_RELATIVE relocations from a run-length encoded packed 55 std::vector<Elf32_Rel>* relocations) { 66 codec.Decode(packed_words, relocations);
|
elf_file.cc | 346 // relocations in the shared object. 348 // DT_RELSZ is the overall size of relocations. Adjust by hole size. 357 // of R_ARM_RELATIVE relocations, and DT_RELCOUNT is the count of 358 // relative relocations. So closing a hole on packing reduces 631 // Apply R_ARM_RELATIVE relocations to the file data to which they refer. 637 const std::vector<Elf32_Rel>& relocations) { 655 for (size_t i = 0; i < relocations.size(); ++i) { 656 const Elf32_Rel* relocation = &relocations[i]; 689 // Pad relocations with a given number of R_ARM_NONE relocations [all...] |
/external/llvm/test/MC/Mips/ |
micromips-jump26.s | 8 # for relocations. 16 # Check that the appropriate relocations were created. 18 # CHECK-ELF: Relocations [
|
micromips-tailr.s | 8 # for relocations. 18 # Check that the appropriate relocations were created. 20 # CHECK-ELF: Relocations [
|
higher-highest-addressing.s | 8 # Test that R_MIPS_HIGHER and R_MIPS_HIGHEST relocations are created. By using 10 # relocations. 18 # CHECK-REL: Relocations [ 32 # Check the case where relocations are not modified by adding +1. The constant
|
oddspreg.s | 5 # 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 - | \ 39 # CHECK-OBJ-ALL: Relocations [
|
elf_reginfo.s | 12 # Check that the appropriate relocations were created.
|
mips-data-directives.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 24 # CHECK-OBJ: Relocations [
|
mips_abi_flags_xx.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 25 # CHECK-OBJ: Relocations [
|
mips_abi_flags_xx_set.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 26 # CHECK-OBJ: Relocations [
|
/external/llvm/test/MC/PowerPC/ |
ppc64-relocs-01.s | 22 # CHECK: Relocations [ 24 # 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/MC/MachO/ARM/ |
no-subsections-reloc.s | 6 @ in the same section can be resolved at assembly time w/o relocations.
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
crazy_linker_elf_relro.cpp | 118 ElfRelocations relocations; local 119 if (!relocations.Init(view, error)) 131 relocations.CopyAndRelocate(relro_start,
|
/ndk/sources/android/crazy_linker/src/ |
crazy_linker_elf_relro.cpp | 118 ElfRelocations relocations; local 119 if (!relocations.Init(view, error)) 131 relocations.CopyAndRelocate(relro_start,
|
/external/llvm/test/MC/ARM/ |
macho-relocs-with-addend.s | 4 @ MachO relocations that end up expressed as internal 27 @ CHECK: Relocations [
|
/external/llvm/test/MC/Mips/mips32/ |
abiflags.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 25 # CHECK-OBJ: Relocations [
|
/external/llvm/test/MC/Mips/mips32r2/ |
abiflags.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 26 # CHECK-OBJ: Relocations [
|
/external/llvm/test/MC/Mips/mips64/ |
abiflags.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 25 # CHECK-OBJ: Relocations [
|
/external/llvm/test/MC/Mips/mips64r2/ |
abiflags.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 25 # CHECK-OBJ: Relocations [
|
/external/llvm/test/MC/Mips/msa/ |
abiflags.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 26 # CHECK-OBJ: Relocations [
|