|
|
6#

楼主 |
发表于 2017-1-18 14:20:38
|
只看该作者
" ]. i+ l1 ^3 |( m你好,具体怎么写这段代码?之前的cmd文件,将所有段都放在DDR2中,其中哪一句对应的功能是预留给RBL引导程序的空间?请指导一下,谢谢。5 {( d% P4 t4 v! a3 p9 f
SECTIONS
8 E( V: G" Y1 m) Z% d& w{( {/ N) M. d2 F: Y
GROUP (NEAR_DP_RELATIVE)
$ a3 I2 f4 |. Q* S" y/ U# W& A! y {
) C5 @0 ^6 i+ D. l8 g .neardata( M# M5 y6 x* A# T7 v- b3 D
.rodata
1 M$ f( W8 H: G4 b .bss- n6 c! G. @) @; t& K. V, _
} > DDR2
- S# o) K+ P9 ~6 k
+ f% H) @8 h; ?$ z: W6 s3 t; f" r .cinit > DDR2 // Initialization Tables0 g4 r% q7 E8 P: }; y1 o
.pinit > DDR2 // Constructor Tables
# C g3 f y$ r V4 w .init_array > DDR2
* M$ x* ], z/ ^3 f9 ?% T .const > DDR2 // Constant Data
* s1 p, }4 C6 _" ^5 M& A .switch > DDR2 // Jump Tables, W# d- E) U& w8 G7 q3 r3 P" Z
.text > DDR2 // Executable Code A/ {" B- B4 u& I* O, V. |
.text:_c_int00: > 0xC3000000 // Entrypoint: j4 n+ l$ }! d. a" c
' Z" r V& y. D' C .far > DDR2 // Far Global & Static Variables
& m, G" b0 x7 ^" O4 ?# z .fardata > DDR2
% w3 U8 u: @! O9 h( Y( H .stack > DDR2 // Software System Stack. q. ^& |1 S8 C M2 Q- n( N7 N
.sysmem > DDR2 // Dynamic Memory Allocation Area: n; D, |0 S: S I! R
6 u* I' @$ X6 t B .cio > DDR2 // C I/O Buffer* i) R( L( F% S, k8 ?# a
.vecs > DDR2 // Interrupt Vectors
; P k- V- I4 ~- J: \} |
|