Rev 3556 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2996 | svoboda | 1 | ENTRY(__entry) |
2 | |||
3 | PHDRS { |
||
4 | text PT_LOAD FLAGS(5); |
||
5 | data PT_LOAD FLAGS(6); |
||
6 | } |
||
7 | |||
8 | SECTIONS { |
||
3590 | svoboda | 9 | . = 0x1000 + SIZEOF_HEADERS; |
2996 | svoboda | 10 | |
3590 | svoboda | 11 | .init : { |
2996 | svoboda | 12 | *(.init); |
13 | } :text |
||
14 | .text : { |
||
15 | *(.text); |
||
16 | *(.text.*); |
||
17 | *(.rodata*); |
||
18 | } :text |
||
19 | |||
3590 | svoboda | 20 | .rel.plt : { |
2996 | svoboda | 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 | |||
3590 | svoboda | 31 | .dynamic : { |
2996 | svoboda | 32 | *(.dynamic); |
33 | } :text |
||
34 | |||
3590 | svoboda | 35 | .dynsym : { |
2996 | svoboda | 36 | *(.dynsym); |
37 | } :text |
||
38 | |||
3590 | svoboda | 39 | .dynstr : { |
2996 | svoboda | 40 | *(.dynstr); |
41 | } :text |
||
42 | |||
3590 | svoboda | 43 | . = . + 0x1000; |
44 | |||
45 | .data : { |
||
2996 | svoboda | 46 | *(.data); |
47 | *(.sdata); |
||
48 | } :data |
||
49 | |||
3590 | svoboda | 50 | .data.rel : { |
2996 | svoboda | 51 | *(.data.rel); |
52 | } :data |
||
53 | |||
3590 | svoboda | 54 | .got : { |
2996 | svoboda | 55 | *(.got); |
56 | } :data |
||
3590 | svoboda | 57 | .got.plt : { |
2996 | svoboda | 58 | *(.got.plt); |
59 | } :data |
||
60 | |||
61 | .tdata : { |
||
62 | _tdata_start = .; |
||
63 | *(.tdata); |
||
64 | _tdata_end = .; |
||
65 | } :data |
||
66 | .tbss : { |
||
67 | _tbss_start = .; |
||
68 | *(.tbss); |
||
69 | _tbss_end = .; |
||
70 | } :data |
||
71 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
||
72 | .bss : { |
||
73 | *(.sbss); |
||
74 | *(COMMON); |
||
75 | *(.bss); |
||
76 | } :data |
||
77 | |||
3590 | svoboda | 78 | .plt : { |
2996 | svoboda | 79 | *(.plt); |
80 | } :data |
||
81 | |||
82 | . = ALIGN(0x1000); |
||
83 | _heap = .; |
||
84 | } |