[PATCH] Add startswith function and use it instead of CONST_STRNEQ.

Martin Liška mliska@suse.cz
Mon Mar 22 10:04:31 GMT 2021


On 3/21/21 2:19 PM, Alan Modra wrote:
> On Fri, Mar 19, 2021 at 01:44:38PM +0100, Martin Liška wrote:
>> 	* (all locations): Replace usage of CONST_STRNEQ with
>> 	startswith.
> 
> This is OK now that the gdb clash is sorted out.  I guess you should
> really mention each file changed in ChangeLogs though.  Thanks!
> 

I've just done that and pushed as 08dedd6631efefbcba63c4dbf60ef97fb615e022.
Thanks for review.

Now I'm going to transform all the strncmp constructs that can use startswith
function.

Martin


More information about the Binutils mailing list