Rev 2580 | Rev 3009 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2580 | Rev 2927 | ||
---|---|---|---|
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 | . = 0x4000; |
10 | . = 0x4000; |
11 | 11 | ||
12 | .init ALIGN(0x4000): SUBALIGN(0x4000) { |
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(0x4000) : SUBALIGN(0x4000) { |
20 | .got ALIGN(0x4000) : SUBALIGN(0x4000) { |
21 | _gp = .; |
21 | _gp = .; |
22 | *(.got*); |
22 | *(.got*); |
23 | } :data |
23 | } :data |
24 | .data : { |
24 | .data : { |
25 | *(.opd); |
25 | *(.opd); |
26 | *(.data .data.*); |
26 | *(.data .data.*); |
27 | *(.sdata); |
27 | *(.sdata); |
28 | } :data |
28 | } :data |
29 | .tdata : { |
29 | .tdata : { |
30 | _tdata_start = .; |
30 | _tdata_start = .; |
31 | *(.tdata); |
31 | *(.tdata); |
32 | _tdata_end = .; |
32 | _tdata_end = .; |
33 | } :data |
33 | } :data |
34 | .tbss : { |
34 | .tbss : { |
35 | _tbss_start = .; |
35 | _tbss_start = .; |
36 | *(.tbss); |
36 | *(.tbss); |
37 | _tbss_end = .; |
37 | _tbss_end = .; |
38 | } :data |
38 | } :data |
39 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
39 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
40 | .bss : { |
40 | .bss : { |
41 | *(.sbss); |
41 | *(.sbss); |
42 | *(.scommon); |
42 | *(.scommon); |
43 | *(COMMON); |
43 | *(COMMON); |
44 | *(.bss); |
44 | *(.bss); |
45 | } :data |
45 | } :data |
46 | 46 | ||
47 | . = ALIGN(0x4000); |
47 | . = ALIGN(0x4000); |
48 | _heap = .; |
48 | _heap = .; |
49 | 49 | ||
50 | /DISCARD/ : { |
50 | /DISCARD/ : { |
51 | *(*); |
51 | *(*); |
52 | } |
52 | } |
53 | } |
53 | } |
54 | 54 |