diff --git a/arch/avr/src/at90usb/at90usb_head.S b/arch/avr/src/at90usb/at90usb_head.S index a3f56245f7a..be40c4c99e0 100755 --- a/arch/avr/src/at90usb/at90usb_head.S +++ b/arch/avr/src/at90usb/at90usb_head.S @@ -227,6 +227,7 @@ __do_copy_data: .Lcopyloop: lpm r0, Z+ st X+, r0 + .Lcopystart: cpi r26, lo8(_edata) cpc r27, r17 @@ -245,6 +246,7 @@ __do_clear_bss: .Lclearloop: st X+, r1 + .Lclearstart: cpi r26, lo8(_ebss) cpc r27, r17 diff --git a/arch/avr/src/atmega/atmega_head.S b/arch/avr/src/atmega/atmega_head.S index 9b6581ce762..96edcd9887d 100755 --- a/arch/avr/src/atmega/atmega_head.S +++ b/arch/avr/src/atmega/atmega_head.S @@ -221,6 +221,7 @@ __do_copy_data: .Lcopyloop: lpm r0, Z+ st X+, r0 + .Lcopystart: cpi r26, lo8(_edata) cpc r27, r17 @@ -239,6 +240,7 @@ __do_clear_bss: .Lclearloop: st X+, r1 + .Lclearstart: cpi r26, lo8(_ebss) cpc r27, r17