Subversion Repositories HelenOS

Rev

Rev 4342 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4342 Rev 4347
1
STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
1
STARTUP(LIBC_PREFIX/arch/UARCH/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 + SIZEOF_HEADERS;
10
	. = 0x4000 + SIZEOF_HEADERS;
11
 
11
 
12
	.init : {
12
	.init : {
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
	. = . + 0x4000;
20
	. = . + 0x4000;
21
 
21
 
22
	.got : {
22
	.got : {
23
		_gp = .;
23
		_gp = .;
24
		*(.got*);
24
		*(.got*);
25
	} :data	
25
	} :data	
26
	.data : {
26
	.data : {
27
		*(.opd);
27
		*(.opd);
28
		*(.data .data.*);
28
		*(.data .data.*);
29
		*(.sdata);
29
		*(.sdata);
30
	} :data
30
	} :data
31
	.tdata : {
31
	.tdata : {
32
		_tdata_start = .;
32
		_tdata_start = .;
33
		*(.tdata);
33
		*(.tdata);
34
		_tdata_end = .;
34
		_tdata_end = .;
35
	} :data
-
 
36
	.tbss : {
-
 
37
		_tbss_start = .;
35
		_tbss_start = .;
38
		*(.tbss);
36
		*(.tbss);
39
		_tbss_end = .;
37
		_tbss_end = .;
40
	} :data
38
	} :data
41
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
39
	_tls_alignment = ALIGNOF(.tdata);
42
	.bss : {
40
	.bss : {
43
		*(.sbss);
41
		*(.sbss);
44
		*(.scommon);
42
		*(.scommon);
45
		*(COMMON);
43
		*(COMMON);
46
		*(.bss);
44
		*(.bss);
47
	} :data
45
	} :data
48
 
46
 
49
	. = ALIGN(0x4000);
47
	. = ALIGN(0x4000);
50
	_heap = .;
48
	_heap = .;
51
 
49
 
52
	/DISCARD/ : {
50
	/DISCARD/ : {
53
		*(*);
51
		*(*);
54
        }
52
        }
55
}
53
}
56
 
54