[avr-libc-dev] Supporting AVR_TINY, draft HOWTO

2016-12-09 Thread George Spelvin
Having seen Georg-Johann's patch to enable more code on AVR-TINY, I'd like to know how to do it myself. So I've written the following draft of a document explaining how, which might eventually be useful for the project, but currently is for people to point out the error is. One thing that jumps

Re: [avr-libc-dev] [patch #9187] [AVR_TINY]: Support 16-bit xtoa functons and more string functions.

2016-12-09 Thread George Spelvin
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

[avr-libc-dev] printf behaviour change question

2016-12-09 Thread George Spelvin
While I'm poking about in the bowels of printf, one significant problem I'm facing is figuring out where to store the argument size. FL_LONG isn't enough to distinguish %d, %ld and %lld, and we're out of flag bits! But ingenuity provides a solution, and I realized that the FL_WIDTH, FL_PREC and

[avr-libc-dev] [patch #8729] [avr/interrupt.h] Add ISR_NOICF, ISR_FLATTEN. Fix namespace of identifiers.

2016-12-09 Thread Georg-Johann Lay
Follow-up Comment #1, patch #8729 (project avr-libc): PING! ___ Reply to this item at: ___ Message sent via/by Savannah

[avr-libc-dev] [patch #9187] [AVR_TINY]: Support 16-bit xtoa functons and more string functions.

2016-12-09 Thread Georg-Johann Lay
Additional Item Attachment, patch #9187 (project avr-libc): File name: alibc-tiny-2.diff Size:12 KB ___ Reply to this item at: ___