Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: tools/relocation_packer/src/elf_file.cc

Issue 407093003: Switch from ELF CPU-specific to OS-specific DT_ tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to master Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/relocation_packer/src/elf_file.cc
diff --git a/tools/relocation_packer/src/elf_file.cc b/tools/relocation_packer/src/elf_file.cc
index 86ddd25672361220b8f9ff7825784628d8159ddf..0fd0f8918a5ef1922ce058a6858ba776a66c2698 100644
--- a/tools/relocation_packer/src/elf_file.cc
+++ b/tools/relocation_packer/src/elf_file.cc
@@ -22,8 +22,8 @@ static const uint32_t kStubIdentifier = 0x4c4c554eu;
// Out-of-band dynamic tags used to indicate the offset and size of the
// .android.rel.dyn section.
-static const ELF::Sword DT_ANDROID_REL_OFFSET = DT_LOPROC;
-static const ELF::Sword DT_ANDROID_REL_SIZE = DT_LOPROC + 1;
+static const ELF::Sword DT_ANDROID_REL_OFFSET = DT_LOOS;
+static const ELF::Sword DT_ANDROID_REL_SIZE = DT_LOOS + 1;
// Alignment to preserve, in bytes. This must be at least as large as the
// largest d_align and sh_addralign values found in the loaded file.
« no previous file with comments | « tools/relocation_packer/README.TXT ('k') | tools/relocation_packer/test_data/elf_file_unittest_relocs_packed.so » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698