Subversion Repositories HelenOS

Rev

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)
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
	} :data
32
	.tbss : {
33
		_tbss_start = .;
34
		*(.tbss);
35
		_tbss_end = .;
36
	} :data
2580 jermar 37
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
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
}