Add support for RISC-V attributes (#459)
authorRicardo Barbedo <13098357+barbedo@users.noreply.github.com>
Sat, 4 Feb 2023 00:41:41 +0000 (01:41 +0100)
committerGitHub <noreply@github.com>
Sat, 4 Feb 2023 00:41:41 +0000 (16:41 -0800)
commit43e77712efded6ae3f0ab5f9773af5612179b1ed
tree082d8dd5a15648c867a29004acf027fbba915c45
parent6c36d795c5f97df17803dc6db1832f4b90ccf086
Add support for RISC-V attributes (#459)

* Add support for RISC-V attributes

* Fix typos and formatting
12 files changed:
elftools/elf/constants.py
elftools/elf/descriptions.py
elftools/elf/elffile.py
elftools/elf/enums.py
elftools/elf/sections.py
elftools/elf/structs.py
scripts/dwarfdump.py
scripts/readelf.py
test/test_riscv_support.py [new file with mode: 0644]
test/testfiles_for_readelf/simple_riscv_gcc.o.elf [new file with mode: 0644]
test/testfiles_for_unittests/simple_gcc.elf.riscv [new file with mode: 0644]
test/testfiles_for_unittests/simple_gcc.riscv.c [new file with mode: 0644]