Subversion Repositories HelenOS

Rev

Rev 3007 | Go to most recent revision | 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)
1217 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;
1217 decky 11
 
3007 jermar 12
	.init : {
1217 decky 13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
17
		*(.rodata*);
18
	} :text
3007 jermar 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
	} :data
31
	.tbss : {
32
		_tbss_start = .;
33
		*(.tbss);
34
		_tbss_end = .;
35
	} :data
2580 jermar 36
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
1217 decky 37
	.bss : {
38
		*(.sbss);
39
		*(COMMON);
40
		*(.bss);
41
	} :data
1406 jermar 42
 
43
	. = ALIGN(0x1000);
44
	_heap = .;
1217 decky 45
 
46
	/DISCARD/ : {
47
		*(*);
48
	}
49
 
50
}