Skip to content
代码片段 群组 项目
提交 e6413b0a 编辑于 作者: Nick Clifton's avatar Nick Clifton
浏览文件

Add comment in the v850's crt0.S file noting that separate LMA and VMA...

Add comment in the v850's crt0.S file noting that separate LMA and VMA addresses for data sections are not currently supported.
上级 d1dcdb88
分支
标签 newlib-snapshot-20160527
无相关合并请求
......@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
想要评论请 注册