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

- From: Michael Ellerman \<hidden\>
- Date: 2023-03-04 10:37:59 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/03/9530251
- Thread: https://ratatoskr.run/linuxppc-dev/2023/02/9530158/t.md

```text
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
```
