From 970cdef2612b098b457345025a08aba800991722 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Sun, 31 May 2015 13:22:11 -0700 Subject: [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. --- gold/gold.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gold/gold.h') 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'); -- cgit v1.1