Subversion Repositories HelenOS

Rev

Rev 3007 | 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)
1400 decky 2
ENTRY(__entry)
3
 
4
PHDRS {
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
9
SECTIONS {
3007 jermar 10
	. = 0x1000 + SIZEOF_HEADERS;
1400 decky 11
 
3007 jermar 12
	.init : {
1400 decky 13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
1402 decky 17
		*(.toc);
1400 decky 18
		*(.rodata*);
19
	} :text
3007 jermar 20
 
21
	. = . + 0x1000;
22
 
23
	.data : {
1402 decky 24
		*(.opd);
25
		*(.data*);
1400 decky 26
		*(.sdata);
27
	} :data
28
	.tdata : {
29
		_tdata_start = .;
30
		*(.tdata);
31
		_tdata_end = .;
32
	} :data
33
	.tbss : {
34
		_tbss_start = .;
35
		*(.tbss);
36
		_tbss_end = .;
37
	} :data
2580 jermar 38
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
1400 decky 39
	.bss : {
40
		*(.sbss);
41
		*(COMMON);
42
		*(.bss);
43
	} :data
1406 jermar 44
 
45
	. = ALIGN(0x1000);
46
	_heap = .;
1400 decky 47
 
48
	/DISCARD/ : {
49
		*(*);
50
	}
51
 
52
}