From: "Jan Beulich" Subject: [PATCH 3/3] x86: link time .data section adjustments Date: Thu, 23 Dec 2010 12:58:20 +0000 Message-ID: <4D13557C0200007800029801@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part0D215E7C.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part0D215E7C.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 --- 2010-12-23.orig/xen/arch/x86/xen.lds.S +++ 2010-12-23/xen/arch/x86/xen.lds.S @@ -51,12 +51,16 @@ SECTIONS __stop___pre_ex_table =3D .; =20 *(.data.read_mostly) + *(.data.rel.ro) + *(.data.rel.ro.*) } :text =20 .data : { /* Data */ . =3D ALIGN(PAGE_SIZE); *(.data.page_aligned) *(.data) + *(.data.rel) + *(.data.rel.*) CONSTRUCTORS } :text =20 --=__Part0D215E7C.0__= Content-Type: text/plain; name="x86-data-placement.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-data-placement.patch" Fold compiler generated sections (mostly due to -fPIC on x86-64) into=0Athe= general .data and .data.read_mostly sections.=0A=0ASigned-off-by: Jan = Beulich =0A=0A--- 2010-12-23.orig/xen/arch/x86/xen.lds= .S=0A+++ 2010-12-23/xen/arch/x86/xen.lds.S=0A@@ -51,12 +51,16 @@ = SECTIONS=0A __stop___pre_ex_table =3D .;=0A =0A *(.data.read_= mostly)=0A+ *(.data.rel.ro)=0A+ *(.data.rel.ro.*)=0A } = :text=0A =0A .data : { /* Data */=0A . =3D = ALIGN(PAGE_SIZE);=0A *(.data.page_aligned)=0A *(.data)=0A+ = *(.data.rel)=0A+ *(.data.rel.*)=0A CONSTRUCTORS=0A } = :text=0A =0A --=__Part0D215E7C.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part0D215E7C.0__=--