Re: [PATCH v3] Hexagon: implement machine flag check

2024-04-05 Thread Matheus Tavares Bernardino
On Fri, 05 Apr 2024 16:45:40 +0200 Mark Wielaard wrote: > > Hi Matheus, > > On Thu, 2024-04-04 at 16:56 -0300, Matheus Tavares Bernardino wrote: > > BTW, just out of curiosity, since the last incident with xz's backdoor > > (which apparently involved malicious co

Re: [PATCH v3] Hexagon: implement machine flag check

2024-04-04 Thread Matheus Tavares Bernardino
On Thu, Apr 04, 2024 at 21:43:11 +0200, Mark Wielaard wrote: > > > 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

[PATCH v3] Hexagon: implement machine flag check

2024-04-04 Thread Matheus Tavares Bernardino
dge.h: add EF_HEXAGON_TINY constant Signed-off-by: Matheus Tavares Bernardino --- v2: https://sourceware.org/pipermail/elfutils-devel/2024q2/006987.html Changes in v3: - Added ChangeLog to commit message. - Implemented better machine_flag_check operation, as suggested by bcain. - Extracted on

[PATCH v2 1/2] Add support for Hexagon

2024-04-02 Thread Matheus Tavares Bernardino
# SKIP: 6 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 $ cat tests/run-strip-reloc-ko.sh.log [...] runtest hello_hexagon.ko PASS run-strip-reloc-ko.sh (exit status: 0) Signed-off-by: Matheus Tavares Bernardino --- backends/Makefile.am| 7 +- backends/hexagon_init.c

[PATCH v2 0/2] Add initial support for Hexagon

2024-04-02 Thread Matheus Tavares Bernardino
) - Added hello_hexagon.ko test Matheus Tavares Bernardino (2): Add support for Hexagon Hexagon: implement machine flag check backends/Makefile.am| 7 +- backends/hexagon_init.c | 52 ++ backends/hexagon_reloc.def | 130 +++ backends

[PATCH v2 2/2] Hexagon: implement machine flag check

2024-04-02 Thread Matheus Tavares Bernardino
This fixes the "invalid machine flag" error from eu-elflint when passing hexagon binaries. Signed-off-by: Matheus Tavares Bernardino --- backends/hexagon_init.c | 1 + backends/hexagon_symbol.c | 8 2 files changed, 9 insertions(+) diff --git a/backends/hexagon_init.c

[PATCH 0/2] Add initial support for Hexagon

2024-03-21 Thread Matheus Tavares Bernardino
The patches were inspired by https://sourceware.org/cgit/elfutils/commit?id=13a4d1279c5b7847049ca3045d04f2705c45ce31 Related to: https://lore.kernel.org/all/6498586d7d0ed112e6c44be98d439abc549653c7.ca...@klomp.org/t/#u Matheus Tavares Bernardino (2): Add support for Hexagon Hexagon

[PATCH 2/2] Hexagon: implement machine flag check

2024-03-21 Thread Matheus Tavares Bernardino
This fixes the "invalid machine flag" error from eu-elflint when passing hexagon binaries. Signed-off-by: Matheus Tavares Bernardino --- backends/hexagon_init.c | 1 + backends/hexagon_symbol.c | 8 2 files changed, 9 insertions(+) diff --git a/backends/hexagon_init.c

[PATCH 1/2] Add support for Hexagon

2024-03-21 Thread Matheus Tavares Bernardino
This implements initial support for the Hexagon architecture. Signed-off-by: Matheus Tavares Bernardino --- backends/Makefile.am | 6 +- backends/hexagon_init.c| 51 +++ backends/hexagon_reloc.def | 130 backends/hexagon_symbol.c