Subversion Repositories HelenOS

Rev

Rev 3556 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3556 Rev 3590
Line 4... Line 4...
4
	text PT_LOAD FLAGS(5);
4
	text PT_LOAD FLAGS(5);
5
	data PT_LOAD FLAGS(6);
5
	data PT_LOAD FLAGS(6);
6
}
6
}
7
 
7
 
8
SECTIONS {
8
SECTIONS {
9
	. = 0x1000;
9
	. = 0x1000 + SIZEOF_HEADERS;
10
 
10
 
11
	.init ALIGN(0x1000) : SUBALIGN(0x1000) {
11
	.init : {
12
		*(.init);
12
		*(.init);
13
	} :text
13
	} :text
14
	.text : {
14
	.text : {
15
		*(.text);
15
		*(.text);
16
		*(.text.*);
16
		*(.text.*);
17
		*(.rodata*);
17
		*(.rodata*);
18
	} :text
18
	} :text
19
 
19
 
20
	.rel.plt ALIGN(0x1000) : {
20
	.rel.plt : {
21
		*(.rel.plt);
21
		*(.rel.plt);
22
	}
22
	}
23
	/* 
23
	/* 
24
	 *.rel.dyn MUST FOLLOW IMMEDIATELY after .rel.plt 
24
	 *.rel.dyn MUST FOLLOW IMMEDIATELY after .rel.plt 
25
	 * without alignment gap or DT_REL will be broken
25
	 * without alignment gap or DT_REL will be broken
26
	 */
26
	 */
27
	.rel.dyn : {
27
	.rel.dyn : {
28
		*(.rel.*);
28
		*(.rel.*);
29
	} :text
29
	} :text
30
 
30
 
31
	.dynamic ALIGN(0x1000) : {
31
	.dynamic : {
32
		*(.dynamic);
32
		*(.dynamic);
33
	} :text
33
	} :text
34
 
34
 
35
	.dynsym ALIGN(0x1000) : {
35
	.dynsym : {
36
		*(.dynsym);
36
		*(.dynsym);
37
	} :text
37
	} :text
38
 
38
 
39
	.dynstr ALIGN(0x1000) : {
39
	.dynstr : {
40
		*(.dynstr);
40
		*(.dynstr);
41
	} :text
41
	} :text
42
 
42
 
43
	.data ALIGN(0x1000) : SUBALIGN(0x1000) {
43
	. = . + 0x1000;
-
 
44
 
-
 
45
	.data : {
44
		*(.data);
46
		*(.data);
45
		*(.sdata);
47
		*(.sdata);
46
	} :data
48
	} :data
47
 
49
 
48
	.data.rel ALIGN(0x1000) : {
50
	.data.rel : {
49
                *(.data.rel);
51
                *(.data.rel);
50
	} :data
52
	} :data
51
 
53
 
52
	.got ALIGN(0x1000) : SUBALIGN(0x1000) {
54
	.got : {
53
                *(.got);
55
                *(.got);
54
	} :data
56
	} :data
55
	.got.plt ALIGN(0x1000) : SUBALIGN(0x1000) {
57
	.got.plt : {
56
                *(.got.plt);
58
                *(.got.plt);
57
	} :data
59
	} :data
58
 
60
 
59
	.tdata : {
61
	.tdata : {
60
		_tdata_start = .;
62
		_tdata_start = .;
Line 71... Line 73...
71
		*(.sbss);
73
		*(.sbss);
72
		*(COMMON);
74
		*(COMMON);
73
		*(.bss);
75
		*(.bss);
74
	} :data
76
	} :data
75
 
77
 
76
	.plt ALIGN(0x1000) : SUBALIGN(0x1000) {
78
	.plt : {
77
		*(.plt);
79
		*(.plt);
78
	} :data
80
	} :data
79
 
81
 
80
	. = ALIGN(0x1000);
82
	. = ALIGN(0x1000);
81
	_heap = .;
83
	_heap = .;