------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-28 
04:11 -------
I assume you are talking about the following code:
/* __do_copy_data is only necessary if there is anything in .data section.
   Does not use RAMPZ - crt*.o provides a replacement for >64K devices.  */

#ifdef L_copy_data
        .section .init4,"ax",@progbits
        .global __do_copy_data
__do_copy_data:
        ldi     r17, hi8(__data_end)
        ldi     r26, lo8(__data_start)
        ldi     r27, hi8(__data_start)
        ldi     r30, lo8(__data_load_start)
        ldi     r31, hi8(__data_load_start)
        rjmp    .do_copy_data_start
.do_copy_data_loop:
#if defined (__AVR_ENHANCED__)
        lpm     r0, Z+
#else
        lpm
        adiw    r30, 1
#endif


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20243

Reply via email to