From 970cdef2612b098b457345025a08aba800991722 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Sun, 31 May 2015 13:22:11 -0700 Subject: [PATCH] [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/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 + + * gold.h (is_cident): Correct typo. + 2015-06-10 Han Shen 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'); -- 2.7.4