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) |
908 | jermar | 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 |
||
2580 | jermar | 39 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
948 | jermar | 40 | .bss : { |
41 | *(.sbss); |
||
42 | *(.scommon); |
||
908 | jermar | 43 | *(COMMON); |
948 | jermar | 44 | *(.bss); |
45 | } :data |
||
1406 | jermar | 46 | |
47 | . = ALIGN(0x4000); |
||
48 | _heap = .; |
||
908 | jermar | 49 | |
50 | /DISCARD/ : { |
||
948 | jermar | 51 | *(*); |
908 | jermar | 52 | } |
53 | } |