Fix misleading comment.

Change-Id: I9e2aa6c2ba938c8f8d7c74eba32d313c866c77b2
This commit is contained in:
Robert Grosse 2014-10-15 14:32:19 -07:00
parent 97df16ba5c
commit 4544d9f9bf
1 changed files with 3 additions and 3 deletions

View File

@ -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_;