Rev 3386 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4153 | mejdrech | 1 | STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o) |
3222 | svoboda | 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 | . = 0x70004000 + SIZEOF_HEADERS; |
||
16 | |||
17 | .init : { |
||
18 | *(.init); |
||
19 | } :text |
||
20 | .text : { |
||
21 | *(.text); |
||
22 | *(.rodata*); |
||
23 | } :text |
||
24 | |||
25 | . = . + 0x4000; |
||
26 | |||
27 | .got : { |
||
28 | _gp = .; |
||
29 | *(.got*); |
||
30 | } :data |
||
31 | .data : { |
||
32 | *(.data); |
||
33 | *(.sdata); |
||
34 | } :data |
||
35 | .tdata : { |
||
36 | _tdata_start = .; |
||
37 | *(.tdata); |
||
38 | _tdata_end = .; |
||
39 | } :data |
||
40 | .tbss : { |
||
41 | _tbss_start = .; |
||
42 | *(.tbss); |
||
43 | _tbss_end = .; |
||
44 | } :data |
||
45 | _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss)); |
||
46 | .bss : { |
||
47 | *(.sbss); |
||
48 | *(COMMON); |
||
49 | *(.bss); |
||
50 | } :data |
||
51 | |||
52 | . = ALIGN(0x4000); |
||
53 | _heap = .; |
||
54 | |||
55 | /DISCARD/ : { |
||
56 | *(*); |
||
57 | } |
||
58 | |||
59 | } |