Rev 3007 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3007 | Rev 3343 | ||
---|---|---|---|
1 | STARTUP(LIBC_PREFIX/arch/ARCH/src/entry.o) |
1 | STARTUP(LIBC_PREFIX/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 + SIZEOF_HEADERS; |
10 | . = 0x1000 + SIZEOF_HEADERS; |
11 | 11 | ||
12 | .init : { |
12 | .init : { |
13 | *(.init); |
13 | *(.init); |
14 | } :text |
14 | } :text |
15 | .text : { |
15 | .text : { |
16 | *(.text); |
16 | *(.text); |
17 | *(.toc); |
17 | *(.toc); |
18 | *(.rodata*); |
18 | *(.rodata*); |
19 | } :text |
19 | } :text |
20 | 20 | ||
21 | . = . + 0x1000; |
21 | . = . + 0x1000; |
22 | 22 | ||
23 | .data : { |
23 | .data : { |
24 | *(.opd); |
24 | *(.opd); |
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 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
38 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
39 | .bss : { |
39 | .bss : { |
40 | *(.sbss); |
40 | *(.sbss); |
41 | *(COMMON); |
41 | *(COMMON); |
42 | *(.bss); |
42 | *(.bss); |
43 | } :data |
43 | } :data |
44 | 44 | ||
45 | . = ALIGN(0x1000); |
45 | . = ALIGN(0x1000); |
46 | _heap = .; |
46 | _heap = .; |
47 | 47 | ||
48 | /DISCARD/ : { |
48 | /DISCARD/ : { |
49 | *(*); |
49 | *(*); |
50 | } |
50 | } |
51 | 51 | ||
52 | } |
52 | } |
53 | 53 |