Subversion Repositories HelenOS

Rev

Rev 2927 | Rev 4342 | 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)
1367 decky 2
ENTRY(__entry)
447 decky 3
 
948 jermar 4
PHDRS {
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
447 decky 9
SECTIONS {
3009 svoboda 10
	. = 0x4000 + SIZEOF_HEADERS;
948 jermar 11
 
3009 svoboda 12
	.init : {
943 palkovsky 13
		*(.init);
948 jermar 14
	} :text
943 palkovsky 15
	.text : {
16
	        *(.text);
17
		*(.rodata*);
948 jermar 18
	} :text
1105 jermar 19
 
3009 svoboda 20
	. = . + 0x4000;
21
 
1123 palkovsky 22
	.data : {
1120 palkovsky 23
		*(.data);
1123 palkovsky 24
		*(.data.rel*);
1120 palkovsky 25
	} :data
1129 palkovsky 26
 
1120 palkovsky 27
	.got : {
1105 jermar 28
		_gp = .;
1123 palkovsky 29
		*(.got);
1105 jermar 30
	} :data
1129 palkovsky 31
 
32
	.tdata : {
33
		_tdata_start = .;
34
		*(.tdata);
35
		_tdata_end = .;
36
	} :data
37
	.tbss : {
38
		_tbss_start = .;
39
		*(.tbss);
40
		_tbss_end = .;
41
	} :data
2580 jermar 42
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
1129 palkovsky 43
 
1105 jermar 44
	.sbss : {
45
		*(.scommon);
46
		*(.sbss);
47
	}	
943 palkovsky 48
	.bss : {
49
		*(.bss);
50
		*(COMMON);
948 jermar 51
	} :data
1105 jermar 52
 
1406 jermar 53
	. = ALIGN(0x4000);
54
	_heap = .;
55
 
943 palkovsky 56
	/DISCARD/ : {
937 jermar 57
		*(*);
58
	}
447 decky 59
}