Rev 1402 | Go to most recent revision | Details | 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); |
||
17 | *(.rodata*); |
||
18 | } :text |
||
19 | |||
20 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
||
21 | *(.data); |
||
22 | *(.sdata); |
||
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 | _heap = .; |
||
39 | LONG(0xdeadbeef); |
||
40 | } :data |
||
41 | |||
42 | /DISCARD/ : { |
||
43 | *(*); |
||
44 | } |
||
45 | |||
46 | } |