WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [VMXASSIST] Fix linker script to define s

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [VMXASSIST] Fix linker script to define start/end section labels
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Aug 2006 19:20:32 +0000
Delivery-date: Mon, 14 Aug 2006 12:25:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID acacf7f1191d3fb1195ba14c907c313516a50d96
# Parent  7ba73e24c5a5f3e578de7756c7eee8a2b9b36b91
[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@xxxxxxxxxxxxx>
---
 tools/firmware/vmxassist/vmxassist.ld |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff -r 7ba73e24c5a5 -r acacf7f1191d tools/firmware/vmxassist/vmxassist.ld
--- a/tools/firmware/vmxassist/vmxassist.ld     Mon Aug 14 17:38:23 2006 +0100
+++ b/tools/firmware/vmxassist/vmxassist.ld     Mon Aug 14 17:56:59 2006 +0100
@@ -6,27 +6,27 @@ ENTRY(_start)
 
 SECTIONS
 {
+       _btext = .;
        .text TEXTADDR : 
        {
-               _btext = .;
                *(.text)
                *(.rodata)
                *(.rodata.*)
-               _etext = .;
        }
+       _etext = .;
 
+       _bdata = .;
        .data :
        {
-               _bdata = .;
                *(.data)
-               _edata = .;
        }
+       _edata = .;
 
+       _bbss = .;
        .bss :
        {
-               _bbss = .;
                *(.bss)
-               _ebss = .;
        }
+       _ebss = .;
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [VMXASSIST] Fix linker script to define start/end section labels, Xen patchbot-unstable <=