Rev 3222 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3222 | svoboda | 1 | STARTUP(LIBC_PREFIX/arch/ARCH/src/entry.o) |
2 | ENTRY(__entry) |
||
3 | |||
4 | PHDRS { |
||
5 | interp PT_INTERP; |
||
6 | text PT_LOAD FLAGS(5); |
||
7 | data PT_LOAD FLAGS(6); |
||
8 | } |
||
9 | |||
10 | SECTIONS { |
||
11 | .interp : { |
||
12 | *(.interp); |
||
13 | } : interp |
||
14 | |||
15 | /* . = 0x0000700000001000;*/ |
||
16 | . = 0x70001000; |
||
17 | |||
18 | .init ALIGN(0x1000) : SUBALIGN(0x1000) { |
||
19 | *(.init); |
||
20 | } :text |
||
21 | .text : { |
||
22 | *(.text); |
||
23 | *(.rodata*); |
||
24 | } :text |
||
25 | |||
26 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
||
27 | *(.data); |
||
28 | } :data |
||
29 | .tdata : { |
||
30 | _tdata_start = .; |
||
31 | *(.tdata); |
||
32 | _tdata_end = .; |
||
33 | } :data |
||
34 | .tbss : { |
||
35 | _tbss_start = .; |
||
36 | *(.tbss); |
||
37 | _tbss_end = .; |
||
38 | } :data |
||
39 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
||
40 | .bss : { |
||
41 | *(COMMON); |
||
42 | *(.bss); |
||
43 | } :data |
||
44 | |||
45 | . = ALIGN(0x1000); |
||
46 | _heap = .; |
||
47 | |||
48 | /DISCARD/ : { |
||
49 | *(*); |
||
50 | } |
||
51 | |||
52 | } |