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

From
Michael Ellerman <hidden>
Date
2023-03-04 10:37:59
Reply to
Michael Ellerman, 2023-02-21
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
Thread (2 messages) 2 messages, 2 authors, last reply 2023-03-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help