Subversion Repositories HelenOS

Rev

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

Rev Author Line No. Line
4377 svoboda 1
STARTUP(LIBC_PREFIX/arch/UARCH/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 {
3011 svoboda 10
	. = 0x4000 + SIZEOF_HEADERS;
1797 decky 11
 
3011 svoboda 12
	.init : {
1797 decky 13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
17
		*(.rodata*);
18
	} :text
3011 svoboda 19
 
20
	. = . + 0x4000;
21
 
22
	.got : {
1864 jermar 23
		 _gp = .;
24
		 *(.got*);
25
	} :data
3011 svoboda 26
	.data : {
1797 decky 27
		*(.data);
28
		*(.sdata);
29
	} :data
30
	.tdata : {
31
		_tdata_start = .;
32
		*(.tdata);
33
		_tdata_end = .;
34
		_tbss_start = .;
35
		*(.tbss);
36
		_tbss_end = .;
37
	} :data
4377 svoboda 38
	_tls_alignment = ALIGNOF(.tdata);
1797 decky 39
	.bss : {
40
		*(.sbss);
41
		*(COMMON);
42
		*(.bss);
43
	} :data
44
 
2141 jermar 45
	. = ALIGN(0x4000);
1797 decky 46
	_heap = .;
47
 
48
	/DISCARD/ : {
49
		*(*);
50
	}
51
 
52
}