[PATCH] powerpc: Avoid dead code/data elimination when using recordmcount

Michael Ellerman patch-notifications at ellerman.id.au
Sat Mar 4 21:36:37 AEDT 2023


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


More information about the Linuxppc-dev mailing list