Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-05-26 14:08:47 +0300
committerNick Clifton <nickc@redhat.com>2016-05-26 14:08:47 +0300
commite6413b0a64cfb429d0e4e1034f84b2e4483c1013 (patch)
treeba96ff10e2cb91ee40827b256be83a49135e4ad2
parentd1dcdb8886370ea1fc348417c0d934e0f4243beb (diff)
Add comment in the v850's crt0.S file noting that separate LMA and VMA addresses for data sections are not currently supported.newlib-snapshot-20160527
-rw-r--r--libgloss/v850/crt0.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgloss/v850/crt0.S b/libgloss/v850/crt0.S
index c9c93e72d..8d44f8896 100644
--- a/libgloss/v850/crt0.S
+++ b/libgloss/v850/crt0.S
@@ -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