[PATCH] Add startswith function and use it instead of CONST_STRNEQ.
Alan Modra
amodra@gmail.com
Thu Mar 25 11:54:13 GMT 2021
On Thu, Mar 25, 2021 at 07:53:04AM -0300, Luis Machado wrote:
> On 3/22/21 7:56 PM, Alan Modra wrote:
> > On Mon, Mar 22, 2021 at 01:13:00PM -0300, Luis Machado wrote:
> > > Just FTR, I'm seeing breakage in sim/aarch64 and sim/arm. Both are
> > > complaining about "-Werror=implicit-function-declaration" regarding strncmp
> > > and strlen.
> > >
> > > Is this the breakage you're talking about? Just so I know what to expect
> > > when it gets fixed.
> >
> > Yes.
> >
>
> Thanks. Are there plans to address this or should I come up with a patch?
I posted a patch here
https://sourceware.org/pipermail/binutils/2021-March/115863.html
It's been tested with gdb, sim and binutils builds.
Tom offered to solve the problem himself, so I'm waiting on that or
for someone in the gdb camp to review my patch. Since I messed this
up in the first place by taking a comment by Tom as a go-ahead rather
than first posting a patch for proper review by gdb maintainers, I'm
being a little cautious in committing the above patch.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list