Rev 948 | Rev 1105 | 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 | |||
948 | jermar | 4 | PHDRS { |
5 | text PT_LOAD FLAGS(5); |
||
6 | data PT_LOAD FLAGS(6); |
||
7 | } |
||
8 | |||
447 | decky | 9 | SECTIONS { |
937 | jermar | 10 | . = 0x4000; |
948 | jermar | 11 | |
12 | .init ALIGN(0x4000) : SUBALIGN(0x4000) { |
||
943 | palkovsky | 13 | *(.init); |
948 | jermar | 14 | } :text |
943 | palkovsky | 15 | .text : { |
16 | *(.text); |
||
17 | *(.rodata*); |
||
948 | jermar | 18 | } :text |
19 | |||
20 | .data ALIGN(0x4000) : SUBALIGN(0x4000) { |
||
943 | palkovsky | 21 | *(.data); |
948 | jermar | 22 | } :data |
943 | palkovsky | 23 | .bss : { |
24 | *(.bss); |
||
25 | *(.sbss); |
||
26 | *(COMMON); |
||
985 | palkovsky | 27 | _heap = .; |
28 | LONG(0xdeadbeef); |
||
948 | jermar | 29 | } :data |
30 | |||
943 | palkovsky | 31 | /DISCARD/ : { |
937 | jermar | 32 | *(*); |
33 | } |
||
447 | decky | 34 | } |