Rev 1406 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
908 | jermar | 1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
2 | ENTRY(__entry) |
||
3 | |||
948 | jermar | 4 | PHDRS { |
5 | text PT_LOAD FLAGS(5); |
||
6 | data PT_LOAD FLAGS(6); |
||
7 | } |
||
8 | |||
908 | jermar | 9 | SECTIONS { |
948 | jermar | 10 | . = 0x4000; |
11 | |||
12 | .init ALIGN(0x4000): SUBALIGN(0x4000) { |
||
13 | *(.init); |
||
14 | } : text |
||
15 | .text : { |
||
16 | *(.text); |
||
17 | *(.rodata*); |
||
18 | } :text |
||
19 | |||
20 | .got ALIGN(0x4000) : SUBALIGN(0x4000) { |
||
1043 | jermar | 21 | _gp = .; |
948 | jermar | 22 | *(.got*); |
23 | } :data |
||
24 | .data : { |
||
25 | *(.opd); |
||
1421 | jermar | 26 | *(.data .data.*); |
948 | jermar | 27 | *(.sdata); |
28 | } :data |
||
1129 | palkovsky | 29 | .tdata : { |
30 | _tdata_start = .; |
||
31 | *(.tdata); |
||
32 | _tdata_end = .; |
||
33 | } :data |
||
34 | .tbss : { |
||
35 | _tbss_start = .; |
||
36 | *(.tbss); |
||
37 | _tbss_end = .; |
||
38 | } :data |
||
948 | jermar | 39 | .bss : { |
40 | *(.sbss); |
||
41 | *(.scommon); |
||
908 | jermar | 42 | *(COMMON); |
948 | jermar | 43 | *(.bss); |
44 | } :data |
||
1406 | jermar | 45 | |
46 | . = ALIGN(0x4000); |
||
47 | _heap = .; |
||
908 | jermar | 48 | |
49 | /DISCARD/ : { |
||
948 | jermar | 50 | *(*); |
908 | jermar | 51 | } |
52 | } |