[PATCH] [RFC] Come up with startswith function.

Hans-Peter Nilsson hp@bitrange.com
Thu Mar 18 18:29:26 GMT 2021


On Thu, 18 Mar 2021, Martin Li?ka wrote:

> Hello.
>
> This patch is the same what I suggested for the GCC project:
> https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566897.html
>
> In case on binutils, it's hard to find a single header file that
> is always used after string.h is included. That's why I for now
> use __builtin_* functions.
>
> Is the binutils community interested in the function?

How about instead moving and/or making more use of CONST_STRNEQ
from bfd/bfd-in.h?

brgds, H-P


More information about the Binutils mailing list