Thread (2 messages) flat view 2 messages, 2 authors, 2017-02-14

Re: powerpc: Add a prototype for mcount() so it can be versioned

From: Michael Ellerman <hidden>
Date: 2017-02-14 12:40:30

On Fri, 2017-02-10 at 02:40:02 UTC, Michael Ellerman wrote:
Currently we get a warning that _mcount() can't be versioned:

  WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned.

Add a prototype to asm-prototypes.h to fix it.

The prototype is not really correct, mcount() is not a normal function,
it has a special ABI. But for the purpose of versioning it doesn't
matter.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Applied to powerpc next.

https://git.kernel.org/powerpc/c/99ad503287daf78e19e64e0e51f1d6

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help