ia64/xen-unstable

view tools/firmware/vmxassist/vmxassist.ld @ 11117:acacf7f1191d

[VMXASSIST] Fix linker script to define start/end section labels
in the usual idiomatic way. This avoids some BSS symbols being
defined oustide of range _sbss/_ebss.

Issue raised by Xiaowei Yang from Intel.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Aug 14 17:56:59 2006 +0100 (2006-08-14)
parents 984225e947f1
children
line source
1 /*
2 * vmxassist.ld
3 */
4 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
5 ENTRY(_start)
7 SECTIONS
8 {
9 _btext = .;
10 .text TEXTADDR :
11 {
12 *(.text)
13 *(.rodata)
14 *(.rodata.*)
15 }
16 _etext = .;
18 _bdata = .;
19 .data :
20 {
21 *(.data)
22 }
23 _edata = .;
25 _bbss = .;
26 .bss :
27 {
28 *(.bss)
29 }
30 _ebss = .;
31 }