Subversion Repositories HelenOS

Rev

Rev 3681 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4342 svoboda 1
STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
3681 svoboda 2
ENTRY(__entry)
3
 
4
PHDRS {
5
        text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
9
SECTIONS {
10
	. = 0x60001000 + SIZEOF_HEADERS;
11
 
12
	.init : {
13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
17
		*(.text.*);
18
		*(.rodata*);
19
	} :text
20
 
21
	.rel.plt : {
22
		*(.rel.plt);
23
	}
24
	/* 
25
	 *.rel.dyn MUST FOLLOW IMMEDIATELY after .rel.plt 
26
	 * without alignment gap or DT_REL will be broken
27
	 */
28
	.rel.dyn : {
29
		*(.rel.*);
30
	} :text
31
 
32
	.plt : {
33
		*(.plt);
34
	} :text
35
 
36
	.dynamic : {
37
		*(.dynamic);
38
	} :text
39
 
40
	.dynsym : {
41
		*(.dynsym);
42
	} :text
43
 
44
	.dynstr : {
45
		*(.dynstr);
46
	} :text
47
 
48
	. = . + 0x1000;
49
 
50
	.data : {
51
		*(.data);
52
	} :data
53
 
54
	.data.rel : {
55
                *(.data.rel);
56
	} :data
57
 
58
	.got : {
59
                *(.got);
60
	} :data
61
	.got.plt : {
62
                *(.got.plt);
63
	} :data
64
 
65
	.bss : {
66
                *(COMMON);
67
                *(.bss);
68
	} :data
69
 
70
	.tdata : {
71
		_tdata_start = .;
72
		*(.tdata);
73
		_tdata_end = .;
74
	} :data
75
	.tbss : {
76
		_tbss_start = .;
77
		*(.tbss);
78
		_tbss_end = .;
79
	} :data
80
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
81
 
82
	. = ALIGN(0x1000);
83
	_heap = .;
84
}