Rev 1864 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1864 | Rev 2131 | ||
---|---|---|---|
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 | . = 0x2000; |
10 | . = 0x2000; |
11 | 11 | ||
12 | .init ALIGN(0x2000) : SUBALIGN(0x2000) { |
12 | .init ALIGN(0x2000) : SUBALIGN(0x2000) { |
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 | .got ALIGN(0x2000) : SUBALIGN(0x2000) { |
20 | .got ALIGN(0x2000) : SUBALIGN(0x2000) { |
21 | _gp = .; |
21 | _gp = .; |
22 | *(.got*); |
22 | *(.got*); |
23 | } :data |
23 | } :data |
24 | .data ALIGN(0x2000) : SUBALIGN(0x2000) { |
24 | .data ALIGN(0x2000) : SUBALIGN(0x2000) { |
25 | *(.data); |
25 | *(.data); |
26 | *(.sdata); |
26 | *(.sdata); |
27 | } :data |
27 | } :data |
28 | .tdata : { |
28 | .tdata : { |
29 | _tdata_start = .; |
29 | _tdata_start = .; |
30 | *(.tdata); |
30 | *(.tdata); |
31 | _tdata_end = .; |
31 | _tdata_end = .; |
32 | } :data |
32 | } :data |
33 | .tbss : { |
33 | .tbss : { |
34 | _tbss_start = .; |
34 | _tbss_start = .; |
35 | *(.tbss); |
35 | *(.tbss); |
36 | _tbss_end = .; |
36 | _tbss_end = .; |
37 | } :data |
37 | } :data |
38 | .bss : { |
38 | .bss : { |
39 | *(.sbss); |
39 | *(.sbss); |
40 | *(COMMON); |
40 | *(COMMON); |
41 | *(.bss); |
41 | *(.bss); |
42 | } :data |
42 | } :data |
43 | 43 | ||
44 | . = ALIGN(0x2000); |
44 | . = ALIGN(0x2000); |
45 | _heap = .; |
45 | _heap = .; |
46 | 46 | ||
47 | /DISCARD/ : { |
47 | /DISCARD/ : { |
48 | *(*); |
48 | *(*); |
49 | } |
49 | } |
50 | 50 | ||
51 | } |
51 | } |
52 | 52 |