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)
1217 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
	. = 0x1000 + SIZEOF_HEADERS;
1217 decky 11
 
3011 svoboda 12
	.init : {
1217 decky 13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
17
		*(.rodata*);
18
	} :text
3011 svoboda 19
 
20
	. = . + 0x1000;
21
 
22
	.data : {
1217 decky 23
		*(.data);
1276 decky 24
		*(.sdata);
1217 decky 25
	} :data
26
	.tdata : {
27
		_tdata_start = .;
28
		*(.tdata);
29
		_tdata_end = .;
30
		_tbss_start = .;
31
		*(.tbss);
32
		_tbss_end = .;
33
	} :data
4377 svoboda 34
	_tls_alignment = ALIGNOF(.tdata);
1217 decky 35
	.bss : {
36
		*(.sbss);
37
		*(COMMON);
38
		*(.bss);
39
	} :data
1406 jermar 40
 
41
	. = ALIGN(0x1000);
42
	_heap = .;
1217 decky 43
 
44
	/DISCARD/ : {
45
		*(*);
46
	}
47
 
48
}