Rev 2528 | Rev 3007 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2528 | jermar | 1 | STARTUP(LIBC_PREFIX/arch/ARCH/src/entry.o) |
1367 | decky | 2 | ENTRY(__entry) |
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 |
1129 | palkovsky | 24 | |
1120 | palkovsky | 25 | .got : { |
1105 | jermar | 26 | _gp = .; |
1123 | palkovsky | 27 | *(.got); |
1105 | jermar | 28 | } :data |
1129 | palkovsky | 29 | |
30 | .tdata : { |
||
31 | _tdata_start = .; |
||
32 | *(.tdata); |
||
33 | _tdata_end = .; |
||
34 | } :data |
||
35 | .tbss : { |
||
36 | _tbss_start = .; |
||
37 | *(.tbss); |
||
38 | _tbss_end = .; |
||
39 | } :data |
||
2580 | jermar | 40 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
1129 | palkovsky | 41 | |
1105 | jermar | 42 | .sbss : { |
43 | *(.scommon); |
||
44 | *(.sbss); |
||
45 | } |
||
943 | palkovsky | 46 | .bss : { |
47 | *(.bss); |
||
48 | *(COMMON); |
||
948 | jermar | 49 | } :data |
1105 | jermar | 50 | |
1406 | jermar | 51 | . = ALIGN(0x4000); |
52 | _heap = .; |
||
53 | |||
943 | palkovsky | 54 | /DISCARD/ : { |
937 | jermar | 55 | *(*); |
56 | } |
||
447 | decky | 57 | } |