Re: [RFC PATCH v2 00/13] objtool: add base support for arm64

From: Peter Zijlstra
Date: Wed Mar 03 2021 - 14:38:52 EST


On Wed, Mar 03, 2021 at 06:09:19PM +0100, Julien Thierry wrote:
> Hi,
>
> This series enables objtool to start doing stack validation on arm64
> kernel builds.

> -->
>
> Julien Thierry (12):
> tools: Add some generic functions and headers
> tools: arm64: Make aarch64 instruction decoder available to tools
> tools: bug: Remove duplicate definition
> objtool: arm64: Add base definition for arm64 backend
> objtool: arm64: Decode add/sub instructions
> objtool: arm64: Decode jump and call related instructions
> objtool: arm64: Decode other system instructions
> objtool: arm64: Decode load/store instructions
> objtool: arm64: Decode LDR instructions
> objtool: arm64: Accept padding in code sections
> objtool: arm64: Handle supported relocations in alternatives
> objtool: arm64: Ignore replacement section for alternative callback
>
> Raphael Gault (1):
> objtool: arm64: Enable stack validation for arm64


These patches look very reasonable to me,

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>


One selfish thing, would it make sense to have a make target that builds
all supported srcarch targets?

This might be useful when hacking on objtool to make sure everything
builds.