aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/xen.lds.S
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-12-24 08:47:59 +0000
committerKeir Fraser <keir@xen.org>2010-12-24 08:47:59 +0000
commit53ecc28f0e91051cf7874012ea13a6899910b105 (patch)
tree9d713827e550103852170a5b0e3dc0a476388503 /xen/arch/x86/xen.lds.S
parent0c4ff0fb92533aff947945f3562221a83bbfb941 (diff)
downloadxen-53ecc28f0e91051cf7874012ea13a6899910b105.tar.gz
xen-53ecc28f0e91051cf7874012ea13a6899910b105.tar.bz2
xen-53ecc28f0e91051cf7874012ea13a6899910b105.zip
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>
Diffstat (limited to 'xen/arch/x86/xen.lds.S')
-rw-r--r--xen/arch/x86/xen.lds.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S
index 49691d35c5..16e710c3fd 100644
--- a/xen/arch/x86/xen.lds.S
+++ b/xen/arch/x86/xen.lds.S
@@ -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