Follow-up Comment #1, bug #26284 (project avr-libc): This actually may have been like for a long time, but I think it should still be changed. As is, the macro is a hassle to use since it doesn't accept a variable; it must be hard-coded in a switch statement or something. Also, the very similar 'boot_signature_byte_get' isn't limited to constants. My patch makes 'boot_lock_fuse_bits_get' more flexible like 'boot_signature_byte_get'.
Also there is no need to explicitly mark r0, r31, r30 as clobbered. r0 is not changed by LPM, only by SPM _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?26284> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev