On Fri, Mar 21, 2025 at 11:01 AM Iain Sandoe wrote:
>
> It seems that libiberty already has replacements for most of the
> mem* functions, but they are not published via include/libiberty.h.
>
> Tested on x86_64 Linux, Darwin aarch64 Linux, OK for trunk?
OK.
Richard.
> thanks,
> Iain
>
> --- 8<
this (or an alternate implementation) is needed for the cobol FE to build on
darwin,
> On 21 Mar 2025, at 10:00, Iain Sandoe wrote:
>
> It seems that libiberty already has replacements for most of the
> mem* functions, but they are not published via include/libiberty.h.
>
> Tested on x86_64 Li
It seems that libiberty already has replacements for most of the
mem* functions, but they are not published via include/libiberty.h.
Tested on x86_64 Linux, Darwin aarch64 Linux, OK for trunk?
thanks,
Iain
--- 8< ---
This adds an implementation of memrchr to libiberty and arranges
to configure g