[PATCH v3] Hexagon: implement machine flag check
Mark Wielaard
mark@klomp.org
Thu Apr 4 19:43:11 GMT 2024
Hi Matheus,
On Thu, Apr 04, 2024 at 02:19:40PM -0300, Matheus Tavares Bernardino wrote:
> This fixes the "invalid machine flag" error from eu-elflint when passing
> hexagon binaries.
>
> * backends/hexagon_init.c (hexagon_init): Hook
> machine_flag_check
> * backends/hexagon_symbol.c (hexagon_machine_flag_check):
> new function
> * libelf/elf-knowledge.h: add EF_HEXAGON_TINY constant
>
> Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
> ---
>
> v2: https://sourceware.org/pipermail/elfutils-devel/2024q2/006987.html
Note that we also have a public-inbox instance, which is useful in
some cases since you can address patches by message-id:
https://inbox.sourceware.org/elfutils-devel/d198f1806a486bd5129c996f10680b947ecdc581.1712087613.git.quic_mathbern@quicinc.com/
> Changes in v3:
> - Added ChangeLog to commit message.
> - Implemented better machine_flag_check operation, as suggested by
> bcain.
> - Extracted only patch 2/2 as 1/2 was already merged.
This looks good.
Pushed,
Mark
More information about the Elfutils-devel
mailing list