Rev 3681 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3681 | svoboda | 1 | STARTUP(LIBC_PREFIX/arch/ARCH/src/entry.o) |
2 | ENTRY(__entry) |
||
3 | |||
4 | PHDRS { |
||
5 | text PT_LOAD FLAGS(5); |
||
6 | data PT_LOAD FLAGS(6); |
||
7 | } |
||
8 | |||
9 | SECTIONS { |
||
3682 | svoboda | 10 | . = 0x60001000; |
3681 | svoboda | 11 | |
12 | .init : { |
||
13 | *(.init); |
||
14 | } :text |
||
15 | .text : { |
||
16 | *(.text); |
||
17 | *(.rodata*); |
||
18 | } :text |
||
19 | |||
20 | .rel.plt : { |
||
21 | *(.rel.plt); |
||
22 | } |
||
23 | /* |
||
24 | *.rel.dyn MUST FOLLOW IMMEDIATELY after .rel.plt |
||
25 | * without alignment gap or DT_REL will be broken |
||
26 | */ |
||
27 | .rel.dyn : { |
||
28 | *(.rel.*); |
||
29 | } :text |
||
30 | |||
31 | .dynamic : { |
||
32 | *(.dynamic); |
||
33 | } :text |
||
34 | |||
35 | .dynsym : { |
||
36 | *(.dynsym); |
||
37 | } :text |
||
38 | |||
39 | .dynstr : { |
||
40 | *(.dynstr); |
||
41 | } :text |
||
42 | |||
43 | /* data segment */ |
||
44 | . = ALIGN(0x1000); |
||
45 | |||
46 | .data : { |
||
47 | *(.data); |
||
48 | *(.sdata); |
||
49 | } :data |
||
50 | |||
51 | .dynamic : { |
||
52 | *(.dynamic); |
||
53 | } :text |
||
54 | |||
55 | .dynsym : { |
||
56 | *(.dynsym); |
||
57 | } :text |
||
58 | |||
59 | .dynstr : { |
||
60 | *(.dynstr); |
||
61 | } :text |
||
62 | |||
63 | .tdata : { |
||
64 | _tdata_start = .; |
||
65 | *(.tdata); |
||
66 | _tdata_end = .; |
||
67 | } :data |
||
68 | .tbss : { |
||
69 | _tbss_start = .; |
||
70 | *(.tbss); |
||
71 | _tbss_end = .; |
||
72 | } :data |
||
73 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
||
74 | .bss : { |
||
75 | *(.sbss); |
||
76 | *(COMMON); |
||
77 | *(.bss); |
||
78 | } :data |
||
79 | |||
80 | /* On ppc32 the plt section is uninitialized and must be here! */ |
||
81 | .plt : { |
||
82 | *(.plt); |
||
83 | } :data |
||
84 | |||
85 | . = ALIGN(0x1000); |
||
86 | _heap = .; |
||
87 | } |