Rev 1406 | Rev 2479 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1406 | Rev 1787 | ||
---|---|---|---|
1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
2 | ENTRY(__entry) |
2 | ENTRY(__entry) |
3 | 3 | ||
4 | PHDRS { |
4 | PHDRS { |
5 | text PT_LOAD FLAGS(5); |
5 | text PT_LOAD FLAGS(5); |
6 | data PT_LOAD FLAGS(6); |
6 | data PT_LOAD FLAGS(6); |
7 | } |
7 | } |
8 | 8 | ||
9 | SECTIONS { |
9 | SECTIONS { |
10 | . = 0x1000; |
10 | . = 0x1000; |
11 | 11 | ||
12 | .init ALIGN(0x1000) : SUBALIGN(0x1000) { |
12 | .init ALIGN(0x1000) : SUBALIGN(0x1000) { |
13 | *(.init); |
13 | *(.init); |
14 | } :text |
14 | } :text |
15 | .text : { |
15 | .text : { |
16 | *(.text); |
16 | *(.text); |
17 | *(.rodata*); |
17 | *(.rodata*); |
18 | } :text |
18 | } :text |
19 | 19 | ||
20 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
20 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
21 | *(.data); |
21 | *(.data); |
22 | *(.sdata); |
22 | *(.sdata); |
23 | } :data |
23 | } :data |
24 | .tdata : { |
24 | .tdata : { |
25 | _tdata_start = .; |
25 | _tdata_start = .; |
26 | *(.tdata); |
26 | *(.tdata); |
27 | _tdata_end = .; |
27 | _tdata_end = .; |
28 | } :data |
28 | } :data |
29 | .tbss : { |
29 | .tbss : { |
30 | _tbss_start = .; |
30 | _tbss_start = .; |
31 | *(.tbss); |
31 | *(.tbss); |
32 | _tbss_end = .; |
32 | _tbss_end = .; |
33 | } :data |
33 | } :data |
34 | .bss : { |
34 | .bss : { |
35 | *(.sbss); |
35 | *(.sbss); |
36 | *(COMMON); |
36 | *(COMMON); |
37 | *(.bss); |
37 | *(.bss); |
38 | } :data |
38 | } :data |
39 | 39 | ||
40 | . = ALIGN(0x1000); |
40 | . = ALIGN(0x1000); |
41 | _heap = .; |
41 | _heap = .; |
42 | 42 | ||
43 | /DISCARD/ : { |
43 | /DISCARD/ : { |
44 | *(*); |
44 | *(*); |
45 | } |
45 | } |
46 | 46 | ||
47 | } |
47 | } |
48 | 48 |