Subversion Repositories HelenOS

Rev

Rev 2580 | Rev 3011 | 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)
1797 decky 2
ENTRY(__entry)
3
 
4
PHDRS {
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
9
SECTIONS {
2141 jermar 10
	. = 0x4000;
1797 decky 11
 
2141 jermar 12
	.init ALIGN(0x4000) : SUBALIGN(0x4000) {
1797 decky 13
		*(.init);
14
	} :text
15
	.text : {
16
		*(.text);
17
		*(.rodata*);
18
	} :text
19
 
2141 jermar 20
	.got ALIGN(0x4000) : SUBALIGN(0x4000) {
1864 jermar 21
		 _gp = .;
22
		 *(.got*);
23
	} :data
2141 jermar 24
	.data ALIGN(0x4000) : SUBALIGN(0x4000) {
1797 decky 25
		*(.data);
26
		*(.sdata);
27
	} :data
28
	.tdata : {
29
		_tdata_start = .;
30
		*(.tdata);
31
		_tdata_end = .;
32
	} :data
33
	.tbss : {
34
		_tbss_start = .;
35
		*(.tbss);
36
		_tbss_end = .;
37
	} :data
2580 jermar 38
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
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
}