# Re: \[PATCH v2 11/16\] objtool: Add --mnop as an option to --mcount

- From: Peter Zijlstra \<peterz@infradead.org\>
- Date: 2022-09-01 19:26:23 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/09/1918328
- Thread: https://ratatoskr.run/linuxppc-dev/2022/08/1911879/t.md

```text
On Mon, Aug 29, 2022 at 11:22:18AM +0530, Sathvika Vasireddy wrote:
> Architectures can select HAVE_NOP_MCOUNT if they choose
> to nop out mcount call sites. If that config option is
> selected, then --mnop is passed as an option to objtool,
> along with --mcount.
> 
> Also, make sure that --mnop can be passed as an option
> to objtool only when --mcount is passed.
> 
> Signed-off-by: Sathvika Vasireddy <redacted>

IIRC you want to nop the things yourself because PLT entries or
something?

Anyway, patch looks fine, even though the Changelog doesn't relaly
justify the change.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
```
