WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH 10/11] move various bits into .init.* sections

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 10/11] move various bits into .init.* sections
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Wed, 9 Mar 2011 14:11:35 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2011年3月09日 06:12:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D77982402000078000358DD@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4D7780FD0200007800035849@xxxxxxxxxxxxxxxxxx> <20110309133019.GG28479@xxxxxxxxxxxxxxxxxxxxxxx> <4D77982402000078000358DD@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009年06月14日)
At 14:09 +0000 on 09 Mar (1299679764), Jan Beulich wrote:
> >>> On 09.03.11 at 14:30, Tim Deegan <Tim.Deegan@xxxxxxxxxx> wrote:
> > At 12:30 +0000 on 09 Mar (1299673837), Jan Beulich wrote:
> >> --- 2011年03月09日.orig/xen/arch/x86/Makefile
> >> +++ 2011年03月09日/xen/arch/x86/Makefile
> >> @@ -16,10 +16,10 @@ obj-y += copy_page.o
> >> obj-y += compat.o
> >> obj-y += debug.o
> >> obj-y += delay.o
> >> -obj-y += dmi_scan.o
> >> +obj-bin-y += dmi_scan.init.o
> >> obj-y += domctl.o
> >> obj-y += domain.o
> >> -obj-y += domain_build.o
> >> +obj-bin-y += domain_build.init.o
> >> obj-y += e820.o
> >> obj-y += extable.o
> >> obj-y += flushtlb.o
> > 
> > I don't understand this - have you some reason for needing those objects
> > to be built as binaries? Also I don't see a rule that makes %.init.o
> > from %.c but I may just have missed some Makefile-fu. 
>
> The (new) rule constructs %.init.o from %.o, prefixing .init to
> various (data) sections. I have no need for these to be binary
> per se, but I do need them to be manageable by objcopy, and
> as this concerns only objects that have *only* init code (just
> like libelf, where I looked up how you did your change), I don't
> think they'd really benefit from LTO.
Righto. Thanks for the explanation.
Tim.
-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH 10/11] move various bits into .init.* sections , Jan Beulich
Next by Date: Fwd: [Xen-users] Shared memory between Dom0 and DomU , MAYAP christine
Previous by Thread: Re: [Xen-devel] [PATCH 10/11] move various bits into .init.* sections , Jan Beulich
Next by Thread: Re: [Xen-devel] [PATCH 10/11] move various bits into .init.* sections , Ian Campbell
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /