Skip to content

Commit

Permalink
RISCV: add Zicfiss and Zicfilp as GNU properties
Browse files Browse the repository at this point in the history
Signed-off-by: Jerry Zhang Jian <[email protected]>
  • Loading branch information
jerryzj committed Dec 17, 2024
1 parent 77af2d3 commit f46e97e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions elftools/elf/descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,11 @@ def describe_note_gnu_properties(properties, machine):
(2, 'pac'),
)

_DESCR_NOTE_GNU_PROPERTY_RISCV_FEATURE_1_AND = (
(1, 'ZICFILP'),
(2, 'ZICFISS'),
)

def _reverse_dict(d, low_priority=()):
"""
This is a tiny helper function to "reverse" the keys/values of a dictionary
Expand Down

0 comments on commit f46e97e

Please sign in to comment.