Generally looks good. There are a couple of places (strlcat.S, strncat.S) where you don't look at the flags after decremeninting a pointer, and could use a single "ld __tmp_reg__,-X" instruction rather than the two-instruction X_sbiw emulation.
(In strrchr.S and strstr.S, it's decrementing r25:r24, so that can't work.) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev