From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] adjust x86 EFI build
Date: Tue, 09 Jul 2013 16:20:39 +0100 [thread overview]
Message-ID: <CE01E8D7.578FC%keir.xen@gmail.com> (raw)
In-Reply-To: <51DC3E5F02000078000E3998@nat28.tlf.novell.com>
On 09/07/2013 15:46, "Jan Beulich" <JBeulich@suse.com> 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 <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
> --- 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
>
>
>
>
prev parent reply other threads:[~2013-07-09 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 14:46 [PATCH] adjust x86 EFI build Jan Beulich
2013-07-09 15:20 ` Keir Fraser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CE01E8D7.578FC%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.