]> sourceware.org Git - newlib-cygwin.git/commitdiff
Add comment in the v850's crt0.S file noting that separate LMA and VMA addresses... newlib-snapshot-20160527
authorNick Clifton <nickc@redhat.com>
Thu, 26 May 2016 11:08:47 +0000 (12:08 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 26 May 2016 11:08:47 +0000 (12:08 +0100)
libgloss/v850/crt0.S

index c9c93e72da911582b5b5ffda23315b274382fd8c..8d44f8896076522cbb2361abf1d738e1296a12fe 100644 (file)
@@ -24,6 +24,12 @@ _start:
        movhi   2,              r0,     r6
        ldsr    r6,             fpsr
 #endif
+       // FIXME: We currently assume that the data sections
+       // are loaded in place - ie that they do not need to
+       // moved from eg ROM into RAM.  If that is not true
+       // then extra code needs to be added here.
+       
+       // Initialise the .bss section.
        mov     hilo(_edata),   r6
        mov     hilo(_end),     r7
 .L0:
@@ -52,6 +58,9 @@ _start:
        movhi   hi(__gp),       r0,     gp
        movea   lo(__gp),       gp,     gp
 
+       // FIXME: See note about not moving the data sections above.
+       
+       // Initialise the .bss section.
        movhi   hi(_edata),     r0,     r6
        movea   lo(_edata),     r6,     r6
        movhi   hi(_end),       r0,     r7
This page took 0.030031 seconds and 5 git commands to generate.