OSDN Git Service

edd126ec65540e0db320a0a0402168d65e2783a1
[hos/hos-v4a.git] / sample / mb / mb_v8_axi / gcc / link.lds
1 ENTRY(_reset_handler)
2
3 MEMORY
4 {
5         vector : o = 0x00000000, l = 0x00000050
6         ro     : o = 0x00000100, l = 0x00007f00
7         rw     : o = 0x00008000, l = 0x00008000
8 }
9
10 SECTIONS
11 {
12         .vector :
13         {
14                 ___vector = . ; 
15                 */vectors.o(.text)
16                 FILL(0xff)
17                 ___vector_end = . ; 
18         } > vector
19         .text :
20         {
21                  ___text = . ; 
22                 *(.text)
23                 *(.strings)
24                 *(.rodata*)
25                 *(.glue*)
26                  ___text_end = . ; 
27         } > ro
28         .tors :
29         {
30                 . = ALIGN(4);
31                 ___ctors = . ;
32                 *(.ctors)
33                 ___ctors_end = . ;
34                 ___dtors = . ;
35                 *(.dtors)
36                 ___dtors_end = . ;
37         } > ro
38         data : AT (ADDR(.tors) + SIZEOF(.tors))
39         {
40             ___data_ro = ADDR(.tors) + SIZEOF(.tors);
41                 ___data = . ;
42                 *(.data)
43                 ___data_end = . ;
44         } > rw
45         .bss :
46         {
47                 ___bss = . ;
48                 *(.bss)
49                 *(COMMON)
50                 ___bss_end = . ;  
51         }  >rw
52 }
53