Subversion Repositories HelenOS

Rev

Rev 1787 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1400 decky 1
STARTUP(../libc/arch/ARCH/src/entry.o)
2
ENTRY(__entry)
3
 
4
PHDRS {
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
9
SECTIONS {
10
	. = 0x1000;
11
 
12
	.init ALIGN(0x1000) : SUBALIGN(0x1000) {
13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
1402 decky 17
		*(.toc);
1400 decky 18
		*(.rodata*);
19
	} :text
20
 
21
	.data ALIGN(0x1000) : SUBALIGN(0x1000) {
1402 decky 22
		*(.opd);
23
		*(.data*);
1400 decky 24
		*(.sdata);
25
	} :data
26
	.tdata : {
27
		_tdata_start = .;
28
		*(.tdata);
29
		_tdata_end = .;
30
	} :data
31
	.tbss : {
32
		_tbss_start = .;
33
		*(.tbss);
34
		_tbss_end = .;
35
	} :data
36
	.bss : {
37
		*(.sbss);
38
		*(COMMON);
39
		*(.bss);
40
	} :data
1406 jermar 41
 
42
	. = ALIGN(0x1000);
43
	_heap = .;
1400 decky 44
 
45
	/DISCARD/ : {
46
		*(*);
47
	}
48
 
49
}