OSDN Git Service

linker script rename -> .lds
[hos/hos-v4a.git] / aplfw / sample / ia32 / pcat / gcc / link.lds
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         .eh_frame :
38         {
39                 *(.eh_frame)
40         } > ram
41         data : 
42         {
43                 ___data = . ;
44                 *(.data)
45                 ___data_end = . ;
46         } > ram
47         .bss :
48         {
49                 ___bss = . ;
50                 *(.bss)
51                 *(COMMON)
52                 ___bss_end = . ;  
53         } > ram
54 }
55
56