Subversion Repositories HelenOS

Rev

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

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