On Wed, 22 Feb 2023 00:03:31 +1100, Michael Ellerman wrote:
Although powerpc now has objtool mcount support, it's not enabled in all
configurations due to dependencies.
On those configurations, with some linkers (binutils 2.37 at least),
it's still possible to hit the dreaded "recordmcount bug", eg. errors
such as:
[...]
Applied to powerpc/fixes.
[1/1] powerpc: Avoid dead code/data elimination when using recordmcount
https://git.kernel.org/powerpc/c/f8b2336f15f3bc30e37ce5c052cde5b6319bb6df
cheers