Subversion Repositories HelenOS

Rev

Rev 3772 | 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)
3772 svoboda 2
ENTRY(__entry)
3
 
4
PHDRS {
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
9
SECTIONS {
10
	. = 0x60004000 + SIZEOF_HEADERS;
11
 
12
	.init : {
13
		*(.init);
14
	} :text
15
	.text : {
16
	        *(.text);
17
		*(.rodata*);
18
	} :text
19
 
20
	. = . + 0x4000;
21
 
22
	.data : {
23
		*(.data);
24
		*(.data.rel*);
25
	} :data
26
 
27
	.got : {
28
		_gp = .;
29
		*(.got);
30
	} :data
31
 
32
	.tdata : {
33
		_tdata_start = .;
34
		*(.tdata);
35
		_tdata_end = .;
36
	} :data
37
	.tbss : {
38
		_tbss_start = .;
39
		*(.tbss);
40
		_tbss_end = .;
41
	} :data
42
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
43
 
44
	.sbss : {
45
		*(.scommon);
46
		*(.sbss);
47
	}	
48
	.bss : {
49
		*(.bss);
50
		*(COMMON);
51
	} :data
52
 
53
	. = ALIGN(0x4000);
54
	_heap = .;
55
 
56
	/DISCARD/ : {
57
		*(*);
58
	}
59
}