Merge "Fix misleading comment."

This commit is contained in:
Dmitriy Ivanov 2014-10-16 17:54:02 +00:00 committed by Gerrit Code Review
commit 5281e1fb15

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 // Sets loaded_phdr_ to the address of the program header table as it appears
// segments in memory. This is in contrast with 'phdr_table_' which // in the loaded segments in memory. This is in contrast with phdr_table_,
// is temporary and will be released before the library is relocated. // which is temporary and will be released before the library is relocated.
bool ElfReader::FindPhdr() { bool ElfReader::FindPhdr() {
const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_;