Subversion Repositories HelenOS

Rev

Rev 3222 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3222 svoboda 1
STARTUP(LIBC_PREFIX/arch/ARCH/src/entry.o)
2
ENTRY(__entry)
3
 
4
PHDRS {
5
	interp PT_INTERP;
6
	text PT_LOAD FLAGS(5);
7
	data PT_LOAD FLAGS(6);
8
}
9
 
10
SECTIONS {
11
	.interp : {
12
		*(.interp);
13
	} :interp
14
 
15
	. = 0x00084000 + SIZEOF_HEADERS;
16
 
17
	.init : {
18
		LONG(0);
19
		LONG(0);
20
		LONG(0);
21
		LONG(0);
22
		LONG(0);
23
		LONG(0);
24
		*(.init);
25
	} : text
26
	.text : {
27
		*(.text);
28
		*(.rodata*);
29
	} :text
30
 
31
	. = . + 0x4000;
32
 
33
	.got : {
34
		_gp = .;
35
		*(.got*);
36
	} :data	
37
	.data : {
38
		*(.opd);
39
		*(.data .data.*);
40
		*(.sdata);
41
	} :data
42
	.tdata : {
43
		_tdata_start = .;
44
		*(.tdata);
45
		_tdata_end = .;
46
	} :data
47
	.tbss : {
48
		_tbss_start = .;
49
		*(.tbss);
50
		_tbss_end = .;
51
	} :data
52
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
53
	.bss : {
54
		*(.sbss);
55
		*(.scommon);
56
		*(COMMON);
57
		*(.bss);
58
	} :data
59
 
60
	. = ALIGN(0x4000);
61
	_heap = .;
62
 
63
	/DISCARD/ : {
64
		*(*);
65
        }
66
}