| Index: tools/relocation_packer/src/run_length_encoder.cc
|
| diff --git a/tools/relocation_packer/src/run_length_encoder.cc b/tools/relocation_packer/src/run_length_encoder.cc
|
| index 2d68bf4c1e892e4a4ea35a192bfad76428f6d931..5b9e39e4a4e7e63b840fd5ae0a9228418005c4da 100644
|
| --- a/tools/relocation_packer/src/run_length_encoder.cc
|
| +++ b/tools/relocation_packer/src/run_length_encoder.cc
|
| @@ -14,7 +14,7 @@ namespace relocation_packer {
|
| namespace {
|
|
|
| // Generate a vector of deltas between the r_offset fields of adjacent
|
| -// ARM relative relocations.
|
| +// relative relocations.
|
| void GetDeltas(const std::vector<ELF::Rel>& relocations,
|
| std::vector<ELF::Addr>* deltas) {
|
| CHECK(relocations.size() >= 2);
|
| @@ -92,7 +92,7 @@ void Uncondense(ELF::Addr addr,
|
|
|
| } // namespace
|
|
|
| -// Encode ARM relative relocations into a run-length encoded (packed)
|
| +// Encode relative relocations into a run-length encoded (packed)
|
| // representation.
|
| void RelocationRunLengthCodec::Encode(const std::vector<ELF::Rel>& relocations,
|
| std::vector<ELF::Xword>* packed) {
|
| @@ -116,7 +116,7 @@ void RelocationRunLengthCodec::Encode(const std::vector<ELF::Rel>& relocations,
|
| packed->at(0) = (packed->size() - 2) >> 1;
|
| }
|
|
|
| -// Decode ARM relative relocations from a run-length encoded (packed)
|
| +// Decode relative relocations from a run-length encoded (packed)
|
| // representation.
|
| void RelocationRunLengthCodec::Decode(const std::vector<ELF::Xword>& packed,
|
| std::vector<ELF::Rel>* relocations) {
|
|
|