source: mainline/kernel/arch/ia32xen/_link.ld.in@ aeaebcc

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since aeaebcc was 9ab9c2ec, checked in by Martin Decky <martin@…>, 19 years ago

version bump to Xen 3.0.3 (not fully operational yet)

  • Property mode set to 100644
File size: 904 bytes
Line 
1/** ia32xen linker script
2 */
3
4#define __ASM__
5#include <arch/boot/boot.h>
6#include <arch/mm/page.h>
7
8ENTRY(kernel_image_start)
9
10PHDRS {
11 image PT_LOAD FLAGS(7); /* RWE */
12 note PT_NOTE FLAGS(4); /* R__ */
13}
14
15SECTIONS {
16 .image PA2KA(BOOT_OFFSET): AT (BOOT_OFFSET) {
17 ktext_start = .;
18 *(K_TEXT_START);
19 *(.text);
20 ktext_end = .;
21
22 kdata_start = .;
23 *(.data); /* initialized data */
24 *(.rodata*); /* string literals */
25 *(COMMON); /* global variables */
26 hardcoded_load_address = .;
27 LONG(PA2KA(0));
28 hardcoded_ktext_size = .;
29 LONG(ktext_end - ktext_start);
30 hardcoded_kdata_size = .;
31 LONG(kdata_end - kdata_start);
32 symbol_table = .;
33 *(symtab.*); /* Symbol table, must be LAST symbol! */
34 *(.bss); /* uninitialized static variables */
35 kdata_end = .;
36 } :image
37
38 .notes : {
39 *(.note.Xen);
40 } :note
41
42 /DISCARD/ : {
43 *(.note.GNU-stack);
44 *(.comment);
45 }
46}
Note: See TracBrowser for help on using the repository browser.