Subversion Repositories HelenOS

Rev

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

Rev Author Line No. Line
2479 jermar 1
STARTUP(../../lib/libc/arch/ARCH/src/entry.o)
1797 decky 2
ENTRY(__entry)
3
 
4
PHDRS {
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
9
SECTIONS {
2141 jermar 10
	. = 0x4000;
1797 decky 11
 
2141 jermar 12
	.init ALIGN(0x4000) : SUBALIGN(0x4000) {
1797 decky 13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
17
		*(.rodata*);
18
	} :text
19
 
2141 jermar 20
	.got ALIGN(0x4000) : SUBALIGN(0x4000) {
1864 jermar 21
		 _gp = .;
22
		 *(.got*);
23
	} :data
2141 jermar 24
	.data ALIGN(0x4000) : SUBALIGN(0x4000) {
1797 decky 25
		*(.data);
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
38
	.bss : {
39
		*(.sbss);
40
		*(COMMON);
41
		*(.bss);
42
	} :data
43
 
2141 jermar 44
	. = ALIGN(0x4000);
1797 decky 45
	_heap = .;
46
 
47
	/DISCARD/ : {
48
		*(*);
49
	}
50
 
51
}