From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] adjust x86 EFI build Date: Tue, 09 Jul 2013 16:20:39 +0100 Message-ID: References: <51DC3E5F02000078000E3998@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51DC3E5F02000078000E3998@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 09/07/2013 15:46, "Jan Beulich" wrote: > While the rule to generate .init.o files from .o ones already correctly > included $(extra-y), the setting of the necessary compiler flag didn't > have the same. With some yet to be posted patch this resulted in build > breakage because of the compiler deciding not to inline a few functions > (which then results in .text not being empty as required for these > object files). > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser > --- a/xen/Rules.mk > +++ b/xen/Rules.mk > @@ -101,7 +101,7 @@ obj-y := $(patsubst %/,%/built-in.o,$ > > subdir-all := $(subdir-y) $(subdir-n) > > -$(filter %.init.o,$(obj-y) $(obj-bin-y)): CFLAGS += -DINIT_SECTIONS_ONLY > +$(filter %.init.o,$(obj-y) $(obj-bin-y) $(extra-y)): CFLAGS += > -DINIT_SECTIONS_ONLY > > $(obj-$(coverage)): CFLAGS += -fprofile-arcs -ftest-coverage -DTEST_COVERAGE > > > >