Subversion Repositories HelenOS

Rev

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

Rev Author Line No. Line
4055 trochtova 1
STARTUP(LIBC_PREFIX/arch/UARCH/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 {
3007 jermar 10
	. = 0x1000 + SIZEOF_HEADERS;
2128 jermar 11
 
3007 jermar 12
	.init : {
2128 jermar 13
		*(.init);
14
	} : text
15
	.text : {
16
		*(.text);
2465 jermar 17
        *(.rodata*);
2128 jermar 18
	} :text
3007 jermar 19
 
20
	. = . + 0x1000;
21
 
22
	.data : {
2128 jermar 23
		*(.opd);
24
		*(.data .data.*);
25
		*(.sdata);
26
	} :data
27
	.tdata : {
28
		_tdata_start = .;
29
		*(.tdata);
30
		_tdata_end = .;
31
		_tbss_start = .;
32
		*(.tbss);
33
		_tbss_end = .;
34
	} :data
4201 trochtova 35
	_tls_alignment = ALIGNOF(.tdata);
2128 jermar 36
	.bss : {
37
		*(.sbss);
38
		*(.scommon);
2465 jermar 39
        *(COMMON);
40
        *(.bss);
2128 jermar 41
	} :data
2465 jermar 42
 
43
	. = ALIGN(0x1000);
2128 jermar 44
	_heap = .;
2465 jermar 45
 
2128 jermar 46
	/DISCARD/ : {
47
		*(*);
2465 jermar 48
	}
49
 
2128 jermar 50
}