diff options
author | Keir Fraser <keir@xen.org> | 2010-12-24 08:47:59 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-24 08:47:59 +0000 |
commit | 53ecc28f0e91051cf7874012ea13a6899910b105 (patch) | |
tree | 9d713827e550103852170a5b0e3dc0a476388503 /xen/arch/x86/xen.lds.S | |
parent | 0c4ff0fb92533aff947945f3562221a83bbfb941 (diff) | |
download | xen-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.S | 4 |
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 |