Rev 3882 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3882 | Rev 4161 | ||
---|---|---|---|
1 | STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o) |
1 | STARTUP(LIBC_PREFIX/arch/UARCH/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 | *(.rodata*); |
17 | *(.rodata*); |
18 | } :text |
18 | } :text |
19 | 19 | ||
20 | . = . + 0x1000; |
20 | . = . + 0x1000; |
21 | 21 | ||
22 | .data : { |
22 | .data : { |
23 | *(.opd); |
23 | *(.opd); |
24 | *(.data .data.*); |
24 | *(.data .data.*); |
25 | *(.sdata); |
25 | *(.sdata); |
26 | } :data |
26 | } :data |
27 | .tdata : { |
27 | .tdata : { |
28 | _tdata_start = .; |
28 | _tdata_start = .; |
29 | *(.tdata); |
29 | *(.tdata); |
30 | _tdata_end = .; |
30 | _tdata_end = .; |
31 | } :data |
- | |
32 | .tbss : { |
- | |
33 | _tbss_start = .; |
31 | _tbss_start = .; |
34 | *(.tbss); |
32 | *(.tbss); |
35 | _tbss_end = .; |
33 | _tbss_end = .; |
36 | } :data |
34 | } :data |
37 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
35 | _tls_alignment = ALIGNOF(.tdata); |
38 | .bss : { |
36 | .bss : { |
39 | *(.sbss); |
37 | *(.sbss); |
40 | *(.scommon); |
38 | *(.scommon); |
41 | *(COMMON); |
39 | *(COMMON); |
42 | *(.bss); |
40 | *(.bss); |
43 | } :data |
41 | } :data |
44 | 42 | ||
45 | . = ALIGN(0x1000); |
43 | . = ALIGN(0x1000); |
46 | _heap = .; |
44 | _heap = .; |
47 | 45 | ||
48 | /DISCARD/ : { |
46 | /DISCARD/ : { |
49 | *(*); |
47 | *(*); |
50 | } |
48 | } |
51 | 49 | ||
52 | } |
50 | } |
53 | 51 |