Subversion Repositories HelenOS

Rev

Rev 1406 | Rev 1787 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1406 Rev 1421
1
STARTUP(../libc/arch/ARCH/src/entry.o)
1
STARTUP(../libc/arch/ARCH/src/entry.o)
2
ENTRY(__entry)
2
ENTRY(__entry)
3
 
3
 
4
PHDRS {
4
PHDRS {
5
	text PT_LOAD FLAGS(5);
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
6
	data PT_LOAD FLAGS(6);
7
}
7
}
8
 
8
 
9
SECTIONS {
9
SECTIONS {
10
	. = 0x4000;
10
	. = 0x4000;
11
 
11
 
12
	.init ALIGN(0x4000): SUBALIGN(0x4000) {
12
	.init ALIGN(0x4000): SUBALIGN(0x4000) {
13
		*(.init);
13
		*(.init);
14
	} : text
14
	} : text
15
	.text : {
15
	.text : {
16
		*(.text);
16
		*(.text);
17
		*(.rodata*);
17
		*(.rodata*);
18
	} :text
18
	} :text
19
 
19
 
20
	.got ALIGN(0x4000) : SUBALIGN(0x4000) {
20
	.got ALIGN(0x4000) : SUBALIGN(0x4000) {
21
		_gp = .;
21
		_gp = .;
22
		*(.got*);
22
		*(.got*);
23
	} :data	
23
	} :data	
24
	.data : {
24
	.data : {
25
		*(.opd);
25
		*(.opd);
26
		*(.data);
26
		*(.data .data.*);
27
		*(.sdata);
27
		*(.sdata);
28
	} :data
28
	} :data
29
	.tdata : {
29
	.tdata : {
30
		_tdata_start = .;
30
		_tdata_start = .;
31
		*(.tdata);
31
		*(.tdata);
32
		_tdata_end = .;
32
		_tdata_end = .;
33
	} :data
33
	} :data
34
	.tbss : {
34
	.tbss : {
35
		_tbss_start = .;
35
		_tbss_start = .;
36
		*(.tbss);
36
		*(.tbss);
37
		_tbss_end = .;
37
		_tbss_end = .;
38
	} :data
38
	} :data
39
	.bss : {
39
	.bss : {
40
		*(.sbss);
40
		*(.sbss);
41
		*(.scommon);
41
		*(.scommon);
42
		*(COMMON);
42
		*(COMMON);
43
		*(.bss);
43
		*(.bss);
44
	} :data
44
	} :data
45
 
45
 
46
	. = ALIGN(0x4000);
46
	. = ALIGN(0x4000);
47
	_heap = .;
47
	_heap = .;
48
 
48
 
49
	/DISCARD/ : {
49
	/DISCARD/ : {
50
		*(*);
50
		*(*);
51
        }
51
        }
52
}
52
}
53
 
53