Fix SRAM data position

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3711 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-06-16 14:28:18 +00:00
parent a69feab58a
commit 5693a6dd57
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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