Subversion Repositories HelenOS

Rev

Rev 1953 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1953 Rev 2014
Line 5... Line 5...
5
#include <arch/boot/boot.h>
5
#include <arch/boot/boot.h>
6
#include <arch/mm/page.h>
6
#include <arch/mm/page.h>
7
 
7
 
8
ENTRY(kernel_image_start)
8
ENTRY(kernel_image_start)
9
 
9
 
-
 
10
PHDRS {
-
 
11
	image PT_LOAD FLAGS(7);	/* RWE */
-
 
12
	note PT_NOTE FLAGS(4);	/* R__ */
-
 
13
}
-
 
14
 
10
SECTIONS {
15
SECTIONS {
11
	__xen_guest : {
-
 
12
		*(__xen_guest);
-
 
13
	}
-
 
14
	
-
 
15
	.image PA2KA(BOOT_OFFSET): { 
16
	.image PA2KA(BOOT_OFFSET): AT (BOOT_OFFSET) {
16
		ktext_start = .;
17
		ktext_start = .;
17
		*(K_TEXT_START);
18
		*(K_TEXT_START);
18
		*(.text);
19
		*(.text);
19
		ktext_end = .;
20
		ktext_end = .;
20
		
21
		
Line 30... Line 31...
30
		LONG(kdata_end - kdata_start);
31
		LONG(kdata_end - kdata_start);
31
		symbol_table = .;
32
		symbol_table = .;
32
		*(symtab.*);            	/* Symbol table, must be LAST symbol! */
33
		*(symtab.*);            	/* Symbol table, must be LAST symbol! */
33
		*(.bss);			/* uninitialized static variables */
34
		*(.bss);			/* uninitialized static variables */
34
		kdata_end = .;
35
		kdata_end = .;
-
 
36
	} :image
35
	}
37
	
-
 
38
	.notes : {
-
 
39
		*(.note.Xen);
-
 
40
	} :note
36
 
41
 
37
	/DISCARD/ : {
42
	/DISCARD/ : {
38
		*(.note.GNU-stack);		
43
		*(.note.GNU-stack);		
39
		*(.comment);
44
		*(.comment);
40
	}
45
	}