Subversion Repositories HelenOS

Rev

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