summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97df16b)
raw | patch | inline | side by side (parent: 97df16b)
author | Robert Grosse <grosse@google.com> | |
Wed, 15 Oct 2014 21:32:19 +0000 (14:32 -0700) | ||
committer | Robert Grosse <grosse@google.com> | |
Wed, 15 Oct 2014 21:32:19 +0000 (14:32 -0700) |
Change-Id: I9e2aa6c2ba938c8f8d7c74eba32d313c866c77b2
linker/linker_phdr.cpp | patch | blob | history |
diff --git a/linker/linker_phdr.cpp b/linker/linker_phdr.cpp
index e0d6d0e78f5fb1e0d65b7a8a1bfd6106070a28e4..6856405deec210cef14e76ecbdf25ef0da228de1 100644 (file)
--- a/linker/linker_phdr.cpp
+++ b/linker/linker_phdr.cpp
@@ -728,9 +728,9 @@ void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_co
}
}
-// Returns the address of the program header table as it appears in the loaded
-// segments in memory. This is in contrast with 'phdr_table_' which
-// is temporary and will be released before the library is relocated.
+// Sets loaded_phdr_ to the address of the program header table as it appears
+// in the loaded segments in memory. This is in contrast with phdr_table_,
+// which is temporary and will be released before the library is relocated.
bool ElfReader::FindPhdr() {
const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_;