diff options
author | Davide Italiano <dccitaliano@gmail.com> | 2015-05-31 13:22:11 -0700 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-06-11 14:36:05 +0930 |
commit | 970cdef2612b098b457345025a08aba800991722 (patch) | |
tree | ba8e67bf4ade3564c21b50524a9dc7043b1c1ddd /gold/gold.h | |
parent | 6e737c31868eb2cc6b56ebdd5a0497a39d53e622 (diff) | |
download | gdb-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.
Diffstat (limited to 'gold/gold.h')
-rw-r--r-- | gold/gold.h | 4 |
1 files changed, 2 insertions, 2 deletions
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'); |