From 105bc26fa6e5f6a946a2ff144ae316e69c6ce08e Mon Sep 17 00:00:00 2001
From: Elliott Hughes <enh@google.com>
Date: Wed, 15 Aug 2012 16:56:00 -0700
Subject: [PATCH] Fix comment typos.

Change-Id: I8feeec1ee9935a6d6baebe57f1c0043ff90ff94f
---
 linker/linker_phdr.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/linker/linker_phdr.c b/linker/linker_phdr.c
index 19ed7ba08..250ca201b 100644
--- a/linker/linker_phdr.c
+++ b/linker/linker_phdr.c
@@ -342,7 +342,7 @@ phdr_table_load_segments(const Elf32_Phdr* phdr_table,
     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 @@ _phdr_table_set_load_prot(const Elf32_Phdr* phdr_table,
  *
  * 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 @@ phdr_table_protect_segments(const Elf32_Phdr* phdr_table,
  *
  * 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 @@ _phdr_table_set_gnu_relro_prot(const Elf32_Phdr* phdr_table,
  *
  * 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 @@ phdr_table_protect_gnu_relro(const Elf32_Phdr* phdr_table,
  *
  * 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 @@ phdr_table_get_arm_exidx(const Elf32_Phdr* phdr_table,
  *
  * 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).