Rev 1400 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1400 | decky | 1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
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); |
||
1402 | decky | 17 | *(.toc); |
1400 | decky | 18 | *(.rodata*); |
19 | } :text |
||
20 | |||
21 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
||
1402 | decky | 22 | *(.opd); |
23 | *(.data*); |
||
1400 | decky | 24 | *(.sdata); |
25 | } :data |
||
26 | .tdata : { |
||
27 | _tdata_start = .; |
||
28 | *(.tdata); |
||
29 | _tdata_end = .; |
||
30 | } :data |
||
31 | .tbss : { |
||
32 | _tbss_start = .; |
||
33 | *(.tbss); |
||
34 | _tbss_end = .; |
||
35 | } :data |
||
36 | .bss : { |
||
37 | *(.sbss); |
||
38 | *(COMMON); |
||
39 | *(.bss); |
||
40 | _heap = .; |
||
41 | LONG(0xdeadbeef); |
||
42 | } :data |
||
43 | |||
44 | /DISCARD/ : { |
||
45 | *(*); |
||
46 | } |
||
47 | |||
48 | } |