ia64/xen-unstable

view extras/mini-os/arch/ia64/minios-ia64.lds @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents cf3b9afb8568
children
line source
1 OUTPUT_FORMAT("elf64-ia64-little")
2 OUTPUT_ARCH(ia64)
4 ENTRY(phys_start)
6 PHDRS
7 {
8 code PT_LOAD;
9 data PT_LOAD;
10 }
12 SECTIONS
13 {
15 phys_start = _start - (((5<<(61))+0x100000000) - (1 << 20));
17 code : { } :code
18 . = ((5<<(61))+0x100000000);
20 _text = .;
22 .text : AT(ADDR(.text) - (((5<<(61))+0x100000000) - (1 << 20)))
23 {
24 *(.text)
25 }
27 _etext = .;
29 data : { } :data
30 .data : AT(ADDR(.data) - (((5<<(61))+0x100000000) - (1 << 20)))
31 { *(.data)
32 }
34 .sdata : AT(ADDR(.sdata) - (((5<<(61))+0x100000000) - (1 << 20)))
35 { *(.sdata) *(.sdata1) *(.srdata) }
37 .rodata : AT(ADDR(.rodata) - (((5<<(61))+0x100000000) - (1 << 20)))
38 { *(.rodata) }
40 .rodata.str1.8 : AT(ADDR(.rodata.str1.8) - (((5<<(61))+0x100000000) - (1 << 20)))
41 { *(.rodata.str1.8) }
43 /* newlib initialization functions */
44 . = ALIGN(64 / 8);
45 PROVIDE (__preinit_array_start = .);
46 .preinit_array : { *(.preinit_array) }
47 PROVIDE (__preinit_array_end = .);
48 PROVIDE (__init_array_start = .);
49 .init_array : { *(.init_array) }
50 PROVIDE (__init_array_end = .);
51 PROVIDE (__fini_array_start = .);
52 .fini_array : { *(.fini_array) }
53 PROVIDE (__fini_array_end = .);
55 .ctors : AT(ADDR(.ctors) - (((5<<(61))+0x100000000) - (1 << 20)))
56 {
57 __CTOR_LIST__ = .;
58 QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
59 *(.ctors)
60 CONSTRUCTORS
61 QUAD(0)
62 __CTOR_END__ = .;
63 }
65 .dtors : AT(ADDR(.dtors) - (((5<<(61))+0x100000000) - (1 << 20)))
66 {
67 __DTOR_LIST__ = .;
68 QUAD((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
69 *(.dtors)
70 QUAD(0)
71 __DTOR_END__ = .;
72 }
74 .IA_64.unwind_info : AT(ADDR(.IA_64.unwind_info) - (((5<<(61))+0x100000000) - (1 << 20)))
75 { *(.IA_64.unwind_info) }
77 .IA_64.unwind : AT(ADDR(.IA_64.unwind) - (((5<<(61))+0x100000000) - (1 << 20)))
78 { *(.IA_64.unwind) }
80 .bss : AT(ADDR(.bss) - (((5<<(61))+0x100000000) - (1 << 20)))
81 {
82 *(.bss)
83 *(.app.bss)
84 }
86 _end = .;
88 }