[committed, PATCH] x86: Remove redundant "symbol" in comments

H.J. Lu hjl.tools@gmail.com
Sat Aug 26 00:16:00 GMT 2017


	* elf32-i386.c (elf_i386_link_hash_entry): Remove redundant
	"symbol" in comments.
	* elf64-x86-64.c (elf_x86_64_link_hash_entry): Likewise.
---
 bfd/ChangeLog      | 6 ++++++
 bfd/elf32-i386.c   | 2 +-
 bfd/elf64-x86-64.c | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bb38920521..cefe1f1d88 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_link_hash_entry): Remove redundant
+	"symbol" in comments.
+	* elf64-x86-64.c (elf_x86_64_link_hash_entry): Likewise.
+
 2017-08-24  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/22001
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 1009c17ff2..179dc434dc 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -995,7 +995,7 @@ struct elf_i386_link_hash_entry
   /* Don't call finish_dynamic_symbol on this symbol.  */
   unsigned int no_finish_dynamic_symbol : 1;
 
-  /* TRUE if symbol symbol is __tls_get_addr.  */
+  /* TRUE if symbol is __tls_get_addr.  */
   unsigned int tls_get_addr : 1;
 
   /* Reference count of C/C++ function pointer relocations in read-write
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index e30428d6d8..1b8d9ee388 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1101,7 +1101,7 @@ struct elf_x86_64_link_hash_entry
   /* Don't call finish_dynamic_symbol on this symbol.  */
   unsigned int no_finish_dynamic_symbol : 1;
 
-  /* TRUE if symbol symbol is __tls_get_addr.  */
+  /* TRUE if symbol is __tls_get_addr.  */
   unsigned int tls_get_addr : 1;
 
   /* Reference count of C/C++ function pointer relocations in read-write
-- 
2.13.5



More information about the Binutils mailing list