Subversion Repositories HelenOS

Rev

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

Rev Author Line No. Line
4153 mejdrech 1
STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
3222 svoboda 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
 
4153 mejdrech 15
	/* On Itanium code sections must be aligned to 16 bytes. */
16
	. = ALIGN(0x800000000 + SIZEOF_HEADERS, 16);
3222 svoboda 17
 
18
	.init : {
19
		*(.init);
20
	} : text
21
	.text : {
22
		*(.text);
23
		*(.rodata*);
24
	} :text
25
 
26
	. = . + 0x4000;
27
 
28
	.got : {
29
		_gp = .;
30
		*(.got*);
31
	} :data	
32
	.data : {
33
		*(.opd);
34
		*(.data .data.*);
35
		*(.sdata);
36
	} :data
37
	.tdata : {
38
		_tdata_start = .;
39
		*(.tdata);
40
		_tdata_end = .;
41
	} :data
42
	.tbss : {
43
		_tbss_start = .;
44
		*(.tbss);
45
		_tbss_end = .;
46
	} :data
47
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
48
	.bss : {
49
		*(.sbss);
50
		*(.scommon);
51
		*(COMMON);
52
		*(.bss);
53
	} :data
54
 
55
	. = ALIGN(0x4000);
56
	_heap = .;
57
 
58
	/DISCARD/ : {
59
		*(*);
60
        }
61
}