Rev 1276 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1217 | 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 | } :data |
||
23 | .tdata : { |
||
24 | _tdata_start = .; |
||
25 | *(.tdata); |
||
26 | _tdata_end = .; |
||
27 | } :data |
||
28 | .tbss : { |
||
29 | _tbss_start = .; |
||
30 | *(.tbss); |
||
31 | _tbss_end = .; |
||
32 | } :data |
||
33 | .bss : { |
||
34 | *(.sbss); |
||
35 | *(COMMON); |
||
36 | *(.bss); |
||
37 | _heap = .; |
||
38 | LONG(0xdeadbeef); |
||
39 | } :data |
||
40 | |||
41 | /DISCARD/ : { |
||
42 | *(*); |
||
43 | } |
||
44 | |||
45 | } |