aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Italiano <dccitaliano@gmail.com>2015-05-31 13:22:11 -0700
committerAlan Modra <amodra@gmail.com>2015-06-11 14:36:05 +0930
commit970cdef2612b098b457345025a08aba800991722 (patch)
treeba8e67bf4ade3564c21b50524a9dc7043b1c1ddd
parent6e737c31868eb2cc6b56ebdd5a0497a39d53e622 (diff)
downloadgdb-970cdef2612b098b457345025a08aba800991722.zip
gdb-970cdef2612b098b457345025a08aba800991722.tar.gz
gdb-970cdef2612b098b457345025a08aba800991722.tar.bz2
[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.
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/gold.h4
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');