Rev 1809 | Rev 1816 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1809 | Rev 1810 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /** Xen32 linker script |
1 | /** Xen32 linker script |
2 | */ |
2 | */ |
3 | 3 | ||
4 | #define __ASM__ |
4 | #define __ASM__ |
- | 5 | #include <arch/boot/boot.h> |
|
5 | #include <arch/mm/page.h> |
6 | #include <arch/mm/page.h> |
6 | 7 | ||
7 | ENTRY(kernel_image_start) |
8 | ENTRY(kernel_image_start) |
8 | 9 | ||
9 | SECTIONS { |
10 | SECTIONS { |
10 | __xen_guest : { |
11 | __xen_guest : { |
11 | *(__xen_guest); |
12 | *(__xen_guest); |
12 | } |
13 | } |
13 | 14 | ||
14 | .image PA2KA(0): { |
15 | .image PA2KA(BOOT_OFFSET): { |
15 | ktext_start = .; |
16 | ktext_start = .; |
16 | *(.text); |
17 | *(.text); |
17 | ktext_end = .; |
18 | ktext_end = .; |
18 | 19 | ||
19 | kdata_start = .; |
20 | kdata_start = .; |