Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1324606

Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2)

From Jiri Kosina <jikos@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2)
Date 2016-02-02 21:40 +0100
Message-ID <qXPTY-5z-7@gated-at.bofh.it> (permalink)
References (2 earlier) <qV9vP-2Vi-9@gated-at.bofh.it> <qVbei-4b6-27@gated-at.bofh.it> <qXI66-2I0-5@gated-at.bofh.it> <qXLnm-55B-37@gated-at.bofh.it> <qXMjo-5NR-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2 Feb 2016, Petr Mladek wrote:

> Note that TOC is not set only when the problematic functions are 
> compiled with --mprofile-kernel. I still see the TOC stuff when 
> compiling only with -pg.

I don't see how this wouldn't be a gcc bug.

No matter whether it's plain profiling call (-pg) or kernel profiling call 
(-mprofile-kernel), gcc must always assume that global function (that will 
typically have just one instance for the whole address space) will be 
called.

-- 
Jiri Kosina
SUSE Labs

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2) Petr Mladek <pmladek@suse.com> - 2016-02-02 13:20 +0100
  Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le  (ABIv2) Torsten Duwe <duwe@lst.de> - 2016-02-02 16:50 +0100
    Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2) Petr Mladek <pmladek@suse.com> - 2016-02-02 17:50 +0100
      Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le  (ABIv2) Jiri Kosina <jikos@kernel.org> - 2016-02-02 21:40 +0100

csiph-web