Re: [PATCH][GCC][AARCH64] Replace calls to strtok with strtok_r in aarch64 attribute handling code

2018-11-28 Thread James Greenhalgh
On Fri, Nov 23, 2018 at 08:22:49AM -0600, Sam Tebbs wrote: > Hi all, > > They AArch64 general attribute handling code uses the strtok function to > separate comma-delimited attributes in a string. This causes problems for and > interfers with attribute-specific handling code that also uses strtok

[PATCH][GCC][AARCH64] Replace calls to strtok with strtok_r in aarch64 attribute handling code

2018-11-23 Thread Sam Tebbs
Hi all, They AArch64 general attribute handling code uses the strtok function to separate comma-delimited attributes in a string. This causes problems for and interfers with attribute-specific handling code that also uses strtok to separate attribute arguments, since strtok isn't re-entrant. This