Re: [RFC 28/31] x86/alternative: Create symbols for special section entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 04, 2024 at 10:08:42AM +0200, Peter Zijlstra wrote:
> On Tue, Sep 03, 2024 at 09:28:29PM -0700, Josh Poimboeuf wrote:
> > Take a more generic approach: for the "array of structs" style sections,
> > annotate each struct entry with a symbol containing the entry.  This
> > makes it easy for tooling to parse the data and avoids the fragility of
> > hardcoding section details.
> > 
> > (For the "array of pointers" style sections, no symbol is needed, as the
> > format is already self-evident.)
> 
> (so someone went and touched a ton of the alternative code recently,
> this is going to need a rebase)
> 
> This generates a metric ton of symbols and I'm not seeing you touch
> kallsyms.c, do we want to explicitly drop these from a --all-symbols
> build? I don't think it makes sense to have them in the final image,
> right?

Yes, good point.

-- 
Josh




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux