[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200528140916.6crguzfpehf6lext@treble>
Date: Thu, 28 May 2020 09:09:16 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Matt Helsley <mhelsley@...are.com>
Cc: linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [RFC][PATCH 2/3] objtool: Find relocation base section using
sh_info
On Wed, May 27, 2020 at 09:42:32AM -0700, Matt Helsley wrote:
> Currently objtool uses a naming heuristic to find the "base"
> section to apply the relocation(s) to. The standard defines
> the SHF_INFO_LINK flag (SHF => in the section header flags)
> which indicates when the section header's sh_info field can
> be used to find the necessary section.
>
> Warns when the heuristic is used as a fallback and changes
> the name heuristic calculation to handle rela (explicit
> addend) and now rel (implicit addend) relocations.
Does this fallback case actually happen?
--
Josh
Powered by blists - more mailing lists