Re: [PATCH 0/3] A series of fixes for ARC Classic

Corinna Vinschen <[email protected]> Tue, 17 Mar 2026 17:01:41 +0100
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Mar 12 15:53, Yuriy Kolerov wrote:
> First 2 patches fix minor issues. The patch about strlen
> removes a speed optimized strlen for all ARC Classic
> targets as it's considered as unsafe.
> 
> Yuriy Kolerov (3):
>   libc: arc: Exclude strchr.S from targets with 16-entry regfile
>   libgloss: arc: Add _link stub for nSIM
>   libc: arc: Remove an optimized strlen implementation
> 
>  libgloss/arc/nsim-syscalls.c             |   7 +
>  newlib/Makefile.in                       |  80 -----------
>  newlib/libc/machine/arc/Makefile.inc     |   4 -
>  newlib/libc/machine/arc/strchr.S         |   3 +-
>  newlib/libc/machine/arc/strlen-bs-norm.S | 117 ----------------
>  newlib/libc/machine/arc/strlen-bs.S      | 123 -----------------
>  newlib/libc/machine/arc/strlen-stub.c    |  37 -----
>  newlib/libc/machine/arc/strlen.S         | 166 -----------------------
>  8 files changed, 9 insertions(+), 528 deletions(-)
>  delete mode 100644 newlib/libc/machine/arc/strlen-bs-norm.S
>  delete mode 100644 newlib/libc/machine/arc/strlen-bs.S
>  delete mode 100644 newlib/libc/machine/arc/strlen-stub.c
>  delete mode 100644 newlib/libc/machine/arc/strlen.S
> 
> -- 
> 2.44.2

Pushed.


Thanks,
Corinna