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