Rev 1787 | Rev 2580 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2479 | jermar | 1 | STARTUP(../../lib/libc/arch/ARCH/src/entry.o) |
1217 | decky | 2 | ENTRY(__entry) |
3 | |||
4 | PHDRS { |
||
5 | text PT_LOAD FLAGS(5); |
||
6 | data PT_LOAD FLAGS(6); |
||
7 | } |
||
8 | |||
9 | SECTIONS { |
||
10 | . = 0x1000; |
||
11 | |||
12 | .init ALIGN(0x1000) : SUBALIGN(0x1000) { |
||
13 | *(.init); |
||
14 | } :text |
||
15 | .text : { |
||
16 | *(.text); |
||
17 | *(.rodata*); |
||
18 | } :text |
||
19 | |||
20 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
||
21 | *(.data); |
||
1276 | decky | 22 | *(.sdata); |
1217 | decky | 23 | } :data |
24 | .tdata : { |
||
25 | _tdata_start = .; |
||
26 | *(.tdata); |
||
27 | _tdata_end = .; |
||
28 | } :data |
||
29 | .tbss : { |
||
30 | _tbss_start = .; |
||
31 | *(.tbss); |
||
32 | _tbss_end = .; |
||
33 | } :data |
||
34 | .bss : { |
||
35 | *(.sbss); |
||
36 | *(COMMON); |
||
37 | *(.bss); |
||
38 | } :data |
||
1406 | jermar | 39 | |
40 | . = ALIGN(0x1000); |
||
41 | _heap = .; |
||
1217 | decky | 42 | |
43 | /DISCARD/ : { |
||
44 | *(*); |
||
45 | } |
||
46 | |||
47 | } |