summaryrefslogtreecommitdiff
path: root/backends/riscv_init.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2022-08-09 09:54:28 +0200
committerMark Wielaard <mark@klomp.org>2022-08-09 18:40:33 +0200
commitd703772ee51ff9171e0b4f09e1b1d7c96369f9b9 (patch)
treea72b4605495fa4a5b080cdc666135927c04c6631 /backends/riscv_init.c
parentde209d23e5f571f03ff0efc6547a2ebbfae3828e (diff)
downloadelfutils-d703772ee51ff9171e0b4f09e1b1d7c96369f9b9.tar.gz
backends: Handle new RISC-V specific definitions
Handle PT_RISCV_ATTRIBUTES, SHT_RISCV_ATTRIBUTES, DT_RISCV_VARIANT_CC. Signed-off-by: Andreas Schwab <schwab@suse.de>
Diffstat (limited to 'backends/riscv_init.c')
-rw-r--r--backends/riscv_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/riscv_init.c b/backends/riscv_init.c
index 141e0821..f2d46082 100644
--- a/backends/riscv_init.c
+++ b/backends/riscv_init.c
@@ -65,6 +65,10 @@ riscv_init (Elf *elf,
HOOK (eh, check_special_symbol);
HOOK (eh, machine_flag_check);
HOOK (eh, set_initial_registers_tid);
+ HOOK (eh, segment_type_name);
+ HOOK (eh, section_type_name);
+ HOOK (eh, dynamic_tag_name);
+ HOOK (eh, dynamic_tag_check);
if (eh->class == ELFCLASS64)
eh->core_note = riscv64_core_note;
else