This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix handling of __start/__stop symbols


On Sun, May 31, 2015 at 2:24 PM, Rafael EspÃndola
<rafael.espindola@gmail.com> wrote:
> Ccing Cary (the gold maintainer).
>
> On May 31, 2015 4:22 PM, "Davide Italiano" <dccitaliano@gmail.com> wrote:
>>
>> If the section contains 'Q' in the name, is_cident() returns false,
>> __start and __stop symbols for the section are not generated..
>> This is likely wrong. While at it, I changed a trailing whitespace in
>> the line immediately above the one containing the typo.
>> Sorry if I missed something in the patch submission, it's my first one
>> and I'm not still really familiar with the process.
>>
>> Thanks,
>>
>> --
>> Davide
>>
>>  % git diff
>> diff --git a/gold/gold.h b/gold/gold.h
>> index ef95f53..45292b7 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');

Cary, any chance you can take a look at this and let me know what you think?

Thanks,

--
Davide


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]