debuggers.hg

changeset 22675:3daa79a074b3

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>
author Keir Fraser <keir@xen.org>
date Fri Dec 24 08:47:59 2010 +0000 (2010-12-24)
parents 2762b6d3149c
children e8acb9753ff1
files xen/arch/x86/xen.lds.S
line diff
     1.1 --- a/xen/arch/x86/xen.lds.S	Fri Dec 24 08:47:23 2010 +0000
     1.2 +++ b/xen/arch/x86/xen.lds.S	Fri Dec 24 08:47:59 2010 +0000
     1.3 @@ -51,12 +51,16 @@ SECTIONS
     1.4         __stop___pre_ex_table = .;
     1.5  
     1.6         *(.data.read_mostly)
     1.7 +       *(.data.rel.ro)
     1.8 +       *(.data.rel.ro.*)
     1.9    } :text
    1.10  
    1.11    .data : {                    /* Data */
    1.12         . = ALIGN(PAGE_SIZE);
    1.13         *(.data.page_aligned)
    1.14         *(.data)
    1.15 +       *(.data.rel)
    1.16 +       *(.data.rel.*)
    1.17         CONSTRUCTORS
    1.18    } :text
    1.19