OSDN Git Service

add I2C command
[hos/hos-v4a.git] / sample / ia32 / pcat / gcc / link.x
1 ENTRY(_boot_handler)
2
3
4 MEMORY
5 {
6         ram    : o = 0x00008000, l = 0x98000
7 }
8
9
10 SECTIONS
11 {
12         .text :
13         {
14                  ___text = . ; 
15                 objs_*/crt0.o(.text)
16                 *(.text)
17                 *(.strings)
18                 *(.rodata*)
19                  ___text_end = . ; 
20         } > ram
21         .tors :
22         {
23                 . = ALIGN(4);
24                 ___ctors = . ;
25                 *(.ctors)
26                 ___ctors_end = . ;
27                 ___dtors = . ;
28                 *(.dtors)
29                 ___dtors_end = . ;
30         } > ram
31         .rdata :
32         {
33                 ___rdata = . ;
34                 *(.rdata)
35                 ___rdata_end = . ;
36         } > ram
37         data : 
38         {
39                 ___data = . ;
40                 *(.data)
41                 ___data_end = . ;
42         } > ram
43         .bss :
44         {
45                 ___bss = . ;
46                 *(.bss)
47                 *(COMMON)
48                 ___bss_end = . ;  
49         } > ram
50 }
51
52