Rev 1105 | Rev 1123 | 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) |
1120 | palkovsky | 2 | ENTRY(__start) |
447 | decky | 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 |
1105 | jermar | 19 | |
1120 | palkovsky | 20 | .data ALIGN(0x4000) : SUBALIGN(0x4000) { |
21 | *(.data); |
||
22 | } :data |
||
23 | .got : { |
||
1105 | jermar | 24 | _gp = .; |
1120 | palkovsky | 25 | *(.data.rel*); |
1105 | jermar | 26 | } :data |
27 | .sbss : { |
||
28 | *(.scommon); |
||
29 | *(.sbss); |
||
30 | } |
||
943 | palkovsky | 31 | .bss : { |
32 | *(.bss); |
||
33 | *(COMMON); |
||
985 | palkovsky | 34 | _heap = .; |
35 | LONG(0xdeadbeef); |
||
948 | jermar | 36 | } :data |
1105 | jermar | 37 | |
943 | palkovsky | 38 | /DISCARD/ : { |
937 | jermar | 39 | *(*); |
40 | } |
||
447 | decky | 41 | } |