[PATCH][GOLD] Add ARM relocation property table.
Doug Kwan (關振德)
dougkwan@google.com
Wed Feb 3 06:02:00 GMT 2010
Co
2010/2/2 Ian Lance Taylor <iant@google.com>:
>> + // strtok needs a non-const string pointer.
>> + char* buffer = new char[s.size() + 1];
>> + strcpy(buffer, s.c_str());
>
> Write memcpy(buffer, s.data(), s.size());
Patch committed with this change but I also added code to add a
null-character at the end of buffer.
Thanks.
-Doug
>
> This is OK with that change.
>
> Thanks.
>
> Ian
>
More information about the Binutils
mailing list