This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] [GOLD] Fix handling of __start/__stop symbols


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=970cdef2612b098b457345025a08aba800991722

commit 970cdef2612b098b457345025a08aba800991722
Author: Davide Italiano <dccitaliano@gmail.com>
Date:   Sun May 31 13:22:11 2015 -0700

    [GOLD] Fix handling of __start/__stop symbols
    
    If the section contains 'Q' in the name, is_cident() returns false,
    __start and __stop symbols for the section are not generated..
    
    	* gold.h (is_cident): Correct typo.

Diff:
---
 gold/ChangeLog | 4 ++++
 gold/gold.h    | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index 97a03b4..94c0088 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-11  Davide Italiano  <dccitaliano@gmail.com>
+
+	* gold.h (is_cident): Correct typo.
+
 2015-06-10  Han Shen  <shenhan@google.com>
 	Patch for erratum-843419 (2 of 2 - fix erratum occurrences).
 
diff --git a/gold/gold.h b/gold/gold.h
index 9dfafc8..2179dae 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -255,8 +255,8 @@ inline bool
 is_cident(const char* name)
 {
   return (name[strspn(name,
-	 	      ("0123456789"
-		       "ABCDEFGHIJKLMNOPWRSTUVWXYZ"
+		      ("0123456789"
+		       "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
 		       "abcdefghijklmnopqrstuvwxyz"
 		       "_"))]
 	  == '\0');


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]