Fix comment typos.
Change-Id: I8feeec1ee9935a6d6baebe57f1c0043ff90ff94f
diff --git a/linker/linker_phdr.c b/linker/linker_phdr.c
index 19ed7ba..250ca20 100644
--- a/linker/linker_phdr.c
+++ b/linker/linker_phdr.c
@@ -342,7 +342,7 @@
return 0;
}
-/* Used internally. Used to set the protection bits of all loaded segmments
+/* Used internally. Used to set the protection bits of all loaded segments
* with optional extra flags (i.e. really PROT_WRITE). Used by
* phdr_table_protect_segments and phdr_table_unprotect_segments.
*/
@@ -378,7 +378,7 @@
*
* Input:
* phdr_table -> program header table
- * phdr_count -> number of entires in tables
+ * phdr_count -> number of entries in tables
* load_bias -> load bias
* Return:
* 0 on error, -1 on failure (error code in errno).
@@ -403,7 +403,7 @@
*
* Input:
* phdr_table -> program header table
- * phdr_count -> number of entires in tables
+ * phdr_count -> number of entries in tables
* load_bias -> load bias
* Return:
* 0 on error, -1 on failure (error code in errno).
@@ -474,7 +474,7 @@
*
* Input:
* phdr_table -> program header table
- * phdr_count -> number of entires in tables
+ * phdr_count -> number of entries in tables
* load_bias -> load bias
* Return:
* 0 on error, -1 on failure (error code in errno).
@@ -501,7 +501,7 @@
*
* Input:
* phdr_table -> program header table
- * phdr_count -> number of entires in tables
+ * phdr_count -> number of entries in tables
* load_bias -> load bias
* Output:
* arm_exidx -> address of table in memory (NULL on failure).
@@ -538,7 +538,7 @@
*
* Input:
* phdr_table -> program header table
- * phdr_count -> number of entires in tables
+ * phdr_count -> number of entries in tables
* load_bias -> load bias
* Output:
* dynamic -> address of table in memory (NULL on failure).