From: "Jan Beulich" Subject: [PATCH, RFC 3/5] x86: link time .data section adjustments Date: Wed, 22 Dec 2010 12:14:07 +0000 Message-ID: <4D11F99F02000078000294DD@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part406C119F.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. --=__Part406C119F.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 --- a/xen/arch/x86/xen.lds.S +++ b/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 --=__Part406C119F.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--- a/xen/arch/x86/xen.lds.S=0A+++ = b/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 --=__Part406C119F.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 --=__Part406C119F.0__=--