Rev 2131 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1797 | 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 { |
||
2292 | hudecek | 10 | . = 0x4000; |
1797 | decky | 11 | |
2292 | hudecek | 12 | .init ALIGN(0x4000) : SUBALIGN(0x4000) { |
1797 | decky | 13 | *(.init); |
14 | } :text |
||
15 | .text : { |
||
16 | *(.text); |
||
17 | *(.rodata*); |
||
18 | } :text |
||
19 | |||
2292 | hudecek | 20 | .got ALIGN(0x4000) : SUBALIGN(0x4000) { |
1864 | jermar | 21 | _gp = .; |
22 | *(.got*); |
||
23 | } :data |
||
2292 | hudecek | 24 | .data ALIGN(0x4000) : SUBALIGN(0x4000) { |
1797 | decky | 25 | *(.data); |
26 | *(.sdata); |
||
27 | } :data |
||
28 | .tdata : { |
||
29 | _tdata_start = .; |
||
30 | *(.tdata); |
||
31 | _tdata_end = .; |
||
32 | } :data |
||
33 | .tbss : { |
||
34 | _tbss_start = .; |
||
35 | *(.tbss); |
||
36 | _tbss_end = .; |
||
37 | } :data |
||
38 | .bss : { |
||
39 | *(.sbss); |
||
40 | *(COMMON); |
||
41 | *(.bss); |
||
42 | } :data |
||
43 | |||
2292 | hudecek | 44 | . = ALIGN(0x4000); |
1797 | decky | 45 | _heap = .; |
46 | |||
47 | /DISCARD/ : { |
||
48 | *(*); |
||
49 | } |
||
50 | |||
51 | } |