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 3567
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
	.plt ALIGN(0x1000) : SUBALIGN(0x1000) {
31
	.plt : {
32
		*(.plt);
32
		*(.plt);
33
	} :text
33
	} :text
34
 
34
 
35
	.dynamic ALIGN(0x1000) : {
35
	.dynamic : {
36
		*(.dynamic);
36
		*(.dynamic);
37
	} :text
37
	} :text
38
 
38
 
39
	.dynsym ALIGN(0x1000) : {
39
	.dynsym : {
40
		*(.dynsym);
40
		*(.dynsym);
41
	} :text
41
	} :text
42
 
42
 
43
	.dynstr ALIGN(0x1000) : {
43
	.dynstr : {
44
		*(.dynstr);
44
		*(.dynstr);
45
	} :text
45
	} :text
46
 
46
 
47
	.data ALIGN(0x1000) : SUBALIGN(0x1000) {
47
	. = . + 0x1000;
-
 
48
 
-
 
49
	.data : {
48
		*(.data);
50
		*(.data);
49
	} :data
51
	} :data
50
 
52
 
51
	.data.rel ALIGN(0x1000) : {
53
	.data.rel : {
52
                *(.data.rel);
54
                *(.data.rel);
53
	} :data
55
	} :data
54
 
56
 
55
	.got ALIGN(0x1000) : SUBALIGN(0x1000) {
57
	.got : {
56
                *(.got);
58
                *(.got);
57
	} :data
59
	} :data
58
	.got.plt ALIGN(0x1000) : SUBALIGN(0x1000) {
60
	.got.plt : {
59
                *(.got.plt);
61
                *(.got.plt);
60
	} :data
62
	} :data
61
 
63
 
62
	.bss : {
64
	.bss : {
63
                *(COMMON);
65
                *(COMMON);