[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.
This commit is contained in:
Davide Italiano 2015-05-31 13:22:11 -07:00 committed by Alan Modra
parent 6e737c3186
commit 970cdef261
2 changed files with 6 additions and 2 deletions

View File

@ -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).

View File

@ -255,8 +255,8 @@ inline bool
is_cident(const char* name)
{
return (name[strspn(name,
("0123456789"
"ABCDEFGHIJKLMNOPWRSTUVWXYZ"
("0123456789"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"_"))]
== '\0');