Subversion Repositories HelenOS

Rev

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

Rev Author Line No. Line
2479 jermar 1
STARTUP(../../lib/libc/arch/ARCH/src/entry.o)
2128 jermar 2
ENTRY(__entry)
3
 
4
PHDRS {
5
	text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
7
}
8
 
9
SECTIONS {
2465 jermar 10
	. = 0x1000;
2128 jermar 11
 
2465 jermar 12
	.init ALIGN(0x1000): SUBALIGN(0x1000) {
2128 jermar 13
		*(.init);
14
	} : text
15
	.text : {
16
		*(.text);
2465 jermar 17
        *(.rodata*);
2128 jermar 18
	} :text
2465 jermar 19
 
20
	.data ALIGN(0x1000) : SUBALIGN(0x1000) {
2128 jermar 21
		*(.opd);
22
		*(.data .data.*);
23
		*(.sdata);
24
	} :data
2465 jermar 25
 
2128 jermar 26
	.tdata : {
27
		_tdata_start = .;
28
		*(.tdata);
29
		_tdata_end = .;
30
	} :data
2465 jermar 31
 
2128 jermar 32
	.tbss : {
33
		_tbss_start = .;
34
		*(.tbss);
35
		_tbss_end = .;
36
	} :data
2465 jermar 37
 
2128 jermar 38
	.bss : {
39
		*(.sbss);
40
		*(.scommon);
2465 jermar 41
        *(COMMON);
42
        *(.bss);
2128 jermar 43
	} :data
2465 jermar 44
 
45
	. = ALIGN(0x1000);
2128 jermar 46
	_heap = .;
2465 jermar 47
 
2128 jermar 48
	/DISCARD/ : {
49
		*(*);
2465 jermar 50
	}
51
 
2128 jermar 52
}