direct-io.hg

changeset 11096: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 7ba73e24c5a5
children d6783fd456ed
files tools/firmware/vmxassist/vmxassist.ld
line diff
     1.1 --- a/tools/firmware/vmxassist/vmxassist.ld	Mon Aug 14 17:38:23 2006 +0100
     1.2 +++ b/tools/firmware/vmxassist/vmxassist.ld	Mon Aug 14 17:56:59 2006 +0100
     1.3 @@ -6,27 +6,27 @@ ENTRY(_start)
     1.4  
     1.5  SECTIONS
     1.6  {
     1.7 +	_btext = .;
     1.8  	.text TEXTADDR : 
     1.9  	{
    1.10 -		_btext = .;
    1.11  		*(.text)
    1.12  		*(.rodata)
    1.13  		*(.rodata.*)
    1.14 -		_etext = .;
    1.15  	}
    1.16 +	_etext = .;
    1.17  
    1.18 +	_bdata = .;
    1.19  	.data :
    1.20  	{
    1.21 -		_bdata = .;
    1.22  		*(.data)
    1.23 -		_edata = .;
    1.24  	}
    1.25 +	_edata = .;
    1.26  
    1.27 +	_bbss = .;
    1.28  	.bss :
    1.29  	{
    1.30 -		_bbss = .;
    1.31  		*(.bss)
    1.32 -		_ebss = .;
    1.33  	}
    1.34 +	_ebss = .;
    1.35  }
    1.36