Rev 2131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2131 | Rev 2292 | ||
---|---|---|---|
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 | . = 0x4000; |
11 | 11 | ||
12 | .init ALIGN(0x2000) : SUBALIGN(0x2000) { |
12 | .init ALIGN(0x4000) : SUBALIGN(0x4000) { |
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(0x4000) : SUBALIGN(0x4000) { |
21 | _gp = .; |
21 | _gp = .; |
22 | *(.got*); |
22 | *(.got*); |
23 | } :data |
23 | } :data |
24 | .data ALIGN(0x2000) : SUBALIGN(0x2000) { |
24 | .data ALIGN(0x4000) : SUBALIGN(0x4000) { |
25 | *(.data); |
25 | *(.data); |
26 | *(.sdata); |
26 | *(.sdata); |
27 | } :data |
27 | } :data |
28 | .tdata : { |
28 | .tdata : { |
29 | _tdata_start = .; |
29 | _tdata_start = .; |
Line 39... | Line 39... | ||
39 | *(.sbss); |
39 | *(.sbss); |
40 | *(COMMON); |
40 | *(COMMON); |
41 | *(.bss); |
41 | *(.bss); |
42 | } :data |
42 | } :data |
43 | 43 | ||
44 | . = ALIGN(0x2000); |
44 | . = ALIGN(0x4000); |
45 | _heap = .; |
45 | _heap = .; |
46 | 46 | ||
47 | /DISCARD/ : { |
47 | /DISCARD/ : { |
48 | *(*); |
48 | *(*); |
49 | } |
49 | } |