Subversion Repositories HelenOS

Rev

Rev 2528 | 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 {
10
	. = 0x1000;
11
 
12
	.init ALIGN(0x1000) : SUBALIGN(0x1000) {
13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
17
		*(.rodata*);
18
	} :text
19
 
20
	.data ALIGN(0x1000) : SUBALIGN(0x1000) {
21
		*(.data);
1276 decky 22
		*(.sdata);
1217 decky 23
	} :data
24
	.tdata : {
25
		_tdata_start = .;
26
		*(.tdata);
27
		_tdata_end = .;
28
	} :data
29
	.tbss : {
30
		_tbss_start = .;
31
		*(.tbss);
32
		_tbss_end = .;
33
	} :data
2580 jermar 34
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
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
}