Subversion Repositories HelenOS

Rev

Rev 2479 | Rev 2580 | 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 {
937 jermar 10
	. = 0x4000;
948 jermar 11
 
12
	.init ALIGN(0x4000) : SUBALIGN(0x4000) {
943 palkovsky 13
		*(.init);
948 jermar 14
	} :text
943 palkovsky 15
	.text : {
16
	        *(.text);
17
		*(.rodata*);
948 jermar 18
	} :text
1105 jermar 19
 
1123 palkovsky 20
	.data : {
1120 palkovsky 21
		*(.data);
1123 palkovsky 22
		*(.data.rel*);
1120 palkovsky 23
	} :data
1129 palkovsky 24
 
1120 palkovsky 25
	.got : {
1105 jermar 26
		_gp = .;
1123 palkovsky 27
		*(.got);
1105 jermar 28
	} :data
1129 palkovsky 29
 
30
	.tdata : {
31
		_tdata_start = .;
32
		*(.tdata);
33
		_tdata_end = .;
34
	} :data
35
	.tbss : {
36
		_tbss_start = .;
37
		*(.tbss);
38
		_tbss_end = .;
39
	} :data
40
 
1105 jermar 41
	.sbss : {
42
		*(.scommon);
43
		*(.sbss);
44
	}	
943 palkovsky 45
	.bss : {
46
		*(.bss);
47
		*(COMMON);
948 jermar 48
	} :data
1105 jermar 49
 
1406 jermar 50
	. = ALIGN(0x4000);
51
	_heap = .;
52
 
943 palkovsky 53
	/DISCARD/ : {
937 jermar 54
		*(*);
55
	}
447 decky 56
}