Subversion Repositories HelenOS

Rev

Rev 2787 | 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)
447 decky 2
ENTRY(__entry)
3
 
937 jermar 4
PHDRS {
948 jermar 5
        text PT_LOAD FLAGS(5);
6
	data PT_LOAD FLAGS(6);
937 jermar 7
}
8
 
447 decky 9
SECTIONS {
3011 svoboda 10
	. = 0x1000 + SIZEOF_HEADERS;
948 jermar 11
 
3011 svoboda 12
	.init : {
948 jermar 13
		*(.init);
14
	} :text
15
	.text : {
937 jermar 16
		*(.text);
948 jermar 17
                *(.rodata*);
18
	} :text
3011 svoboda 19
 
20
	. = . + 0x1000;
21
 
22
	.data : {
948 jermar 23
		*(.data);
24
	} :data
1129 palkovsky 25
	.tdata : {
26
		_tdata_start = .;
27
		*(.tdata);
28
		_tdata_end = .;
29
	} :data
30
	.tbss : {
31
		_tbss_start = .;
32
		*(.tbss);
33
		_tbss_end = .;
34
	} :data
2580 jermar 35
	_tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
948 jermar 36
	.bss : {
37
                *(COMMON);
38
                *(.bss);
39
	} :data
40
 
1406 jermar 41
	. = ALIGN(0x1000);
42
	_heap = .;
43
 
937 jermar 44
	/DISCARD/ : {
948 jermar 45
		*(*);
937 jermar 46
	}
47
 
447 decky 48
}