Subversion Repositories HelenOS

Rev

Rev 3011 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4377 svoboda 1
STARTUP(LIBC_PREFIX/arch/UARCH/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 {
3011 svoboda 10
	. = 0x4000 + SIZEOF_HEADERS;
948 jermar 11
 
3011 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
 
3011 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
		_tbss_start = .;
37
		*(.tbss);
38
		_tbss_end = .;
39
	} :data
4377 svoboda 40
	_tls_alignment = ALIGNOF(.tdata);
1129 palkovsky 41
 
1105 jermar 42
	.sbss : {
43
		*(.scommon);
44
		*(.sbss);
45
	}	
943 palkovsky 46
	.bss : {
47
		*(.bss);
48
		*(COMMON);
948 jermar 49
	} :data
1105 jermar 50
 
1406 jermar 51
	. = ALIGN(0x4000);
52
	_heap = .;
53
 
943 palkovsky 54
	/DISCARD/ : {
937 jermar 55
		*(*);
56
	}
447 decky 57
}