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