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

Matheus Tavares Bernardino quic_mathbern@quicinc.com
Tue Apr 2 19:55:44 GMT 2024


v1: https://sourceware.org/pipermail/elfutils-devel/2024q1/006938.html

Changes in v2:

- Moved Hexagon constants to libelf/elf-knowledge.h
- Added link to Hexagon ABI spec at commit message
  (i.e. https://lists.llvm.org/pipermail/llvm-dev/attachments/20190916/21516a52/attachment-0001.pdf)
- 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/hexagon_symbol.c   |  66 ++++++++++++++++++
 libebl/eblopenbackend.c     |   2 +
 libelf/elf-knowledge.h      | 131 ++++++++++++++++++++++++++++++++++++
 src/elflint.c               |   2 +-
 tests/Makefile.am           |   2 +-
 tests/hello_hexagon.ko.bz2  | Bin 0 -> 11184 bytes
 tests/run-strip-reloc-ko.sh |   3 +-
 10 files changed, 390 insertions(+), 5 deletions(-)
 create mode 100644 backends/hexagon_init.c
 create mode 100644 backends/hexagon_reloc.def
 create mode 100644 backends/hexagon_symbol.c
 create mode 100644 tests/hello_hexagon.ko.bz2

-- 
2.37.2



More information about the Elfutils-devel mailing list