Rev 2528 | Rev 3882 | 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) |
2128 | jermar | 2 | ENTRY(__entry) |
3 | |||
4 | PHDRS { |
||
5 | text PT_LOAD FLAGS(5); |
||
6 | data PT_LOAD FLAGS(6); |
||
7 | } |
||
8 | |||
9 | SECTIONS { |
||
2465 | jermar | 10 | . = 0x1000; |
2128 | jermar | 11 | |
2465 | jermar | 12 | .init ALIGN(0x1000): SUBALIGN(0x1000) { |
2128 | jermar | 13 | *(.init); |
14 | } : text |
||
15 | .text : { |
||
16 | *(.text); |
||
2465 | jermar | 17 | *(.rodata*); |
2128 | jermar | 18 | } :text |
2465 | jermar | 19 | |
20 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
||
2128 | jermar | 21 | *(.opd); |
22 | *(.data .data.*); |
||
23 | *(.sdata); |
||
24 | } :data |
||
25 | .tdata : { |
||
26 | _tdata_start = .; |
||
27 | *(.tdata); |
||
28 | _tdata_end = .; |
||
29 | } :data |
||
30 | .tbss : { |
||
31 | _tbss_start = .; |
||
32 | *(.tbss); |
||
33 | _tbss_end = .; |
||
34 | } :data |
||
2580 | jermar | 35 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
2128 | jermar | 36 | .bss : { |
37 | *(.sbss); |
||
38 | *(.scommon); |
||
2465 | jermar | 39 | *(COMMON); |
40 | *(.bss); |
||
2128 | jermar | 41 | } :data |
2465 | jermar | 42 | |
43 | . = ALIGN(0x1000); |
||
2128 | jermar | 44 | _heap = .; |
2465 | jermar | 45 | |
2128 | jermar | 46 | /DISCARD/ : { |
47 | *(*); |
||
2465 | jermar | 48 | } |
49 | |||
2128 | jermar | 50 | } |