Re: [PATCH 1/5] objtool: Change REG_SP_INDIRECT
From: Josh Poimboeuf
Date: Wed Feb 03 2021 - 09:43:56 EST
On Wed, Feb 03, 2021 at 01:02:23PM +0100, Peter Zijlstra wrote:
> Currently REG_SP_INDIRECT is unused but means (%rsp + offset),
> change it to mean (%rsp) + offset.
>
> This is somewhat unfortunate, since REG_BP_INDIRECT is used (by DRAP)
> and thus needs to retain the current (%rbp + offset).
Offset is going to be zero, should it not work either way?
--
Josh