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 | . = 0x4000 + SIZEOF_HEADERS; |
10 | . = 0x4000 + 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 | . = . + 0x4000; |
20 | . = . + 0x4000; |
21 | 21 | ||
22 | .data : { |
22 | .data : { |
23 | *(.data); |
23 | *(.data); |
24 | *(.data.rel*); |
24 | *(.data.rel*); |
25 | } :data |
25 | } :data |
26 | 26 | ||
27 | .got : { |
27 | .got : { |
28 | _gp = .; |
28 | _gp = .; |
29 | *(.got); |
29 | *(.got); |
30 | } :data |
30 | } :data |
31 | 31 | ||
32 | .tdata : { |
32 | .tdata : { |
33 | _tdata_start = .; |
33 | _tdata_start = .; |
34 | *(.tdata); |
34 | *(.tdata); |
35 | _tdata_end = .; |
35 | _tdata_end = .; |
36 | } :data |
- | |
37 | .tbss : { |
- | |
38 | _tbss_start = .; |
36 | _tbss_start = .; |
39 | *(.tbss); |
37 | *(.tbss); |
40 | _tbss_end = .; |
38 | _tbss_end = .; |
41 | } :data |
39 | } :data |
42 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
40 | _tls_alignment = ALIGNOF(.tdata); |
43 | 41 | ||
44 | .sbss : { |
42 | .sbss : { |
45 | *(.scommon); |
43 | *(.scommon); |
46 | *(.sbss); |
44 | *(.sbss); |
47 | } |
45 | } |
48 | .bss : { |
46 | .bss : { |
49 | *(.bss); |
47 | *(.bss); |
50 | *(COMMON); |
48 | *(COMMON); |
51 | } :data |
49 | } :data |
52 | 50 | ||
53 | . = ALIGN(0x4000); |
51 | . = ALIGN(0x4000); |
54 | _heap = .; |
52 | _heap = .; |
55 | 53 | ||
56 | /DISCARD/ : { |
54 | /DISCARD/ : { |
57 | *(*); |
55 | *(*); |
58 | } |
56 | } |
59 | } |
57 | } |
60 | 58 |