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