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

Message ID 20260312225330.2903392-1-ykolerov@synopsys.com
Headers
Series A series of fixes for ARC Classic |

Message

Yuriy Kolerov March 12, 2026, 10:53 p.m. UTC
  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
  

Comments

Corinna Vinschen March 17, 2026, 4:01 p.m. UTC | #1
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