Mailing List Archive

[xen-unstable] x86: link-time .data section adjustments
# HG changeset patch
# User Keir Fraser <keir@xen.org>
# Date 1293180479 0
# Node ID 3daa79a074b36bd92ffd336ce65c0ad618885690
# Parent 2762b6d3149c73a3b02604ac1c4828ea191b385f
x86: link-time .data section adjustments

Fold compiler generated sections (mostly due to -fPIC on x86-64) into
the general .data and .data.read_mostly sections.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
---
xen/arch/x86/xen.lds.S | 4 ++++
1 files changed, 4 insertions(+)

diff -r 2762b6d3149c -r 3daa79a074b3 xen/arch/x86/xen.lds.S
--- a/xen/arch/x86/xen.lds.S Fri Dec 24 08:47:23 2010 +0000
+++ b/xen/arch/x86/xen.lds.S Fri Dec 24 08:47:59 2010 +0000
@@ -51,12 +51,16 @@ SECTIONS
__stop___pre_ex_table = .;

*(.data.read_mostly)
+ *(.data.rel.ro)
+ *(.data.rel.ro.*)
} :text

.data : { /* Data */
. = ALIGN(PAGE_SIZE);
*(.data.page_aligned)
*(.data)
+ *(.data.rel)
+ *(.data.rel.*)
CONSTRUCTORS
} :text


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