diff options
| author | Andreas Schwab <[email protected]> | 2018-07-11 12:43:06 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-07-13 14:38:27 +0200 |
| commit | eaa4ccbd6d9b31cf7a25aeb78373aca482d1b4cd (patch) | |
| tree | 722306a21c145c4a55a0c0bee6e208496dbc7981 /backends/riscv_init.c | |
| parent | b40001f67c0809e2fe8c7a78c2a5ac12026f23b4 (diff) | |
backends: add set_initial_registers_tid callback for RISC-V
This fixes the backtrace-dwarf and deleted tests, and lets
backtrace-native run a bit further.
Signed-off-by: Andreas Schwab <[email protected]>
Diffstat (limited to 'backends/riscv_init.c')
| -rw-r--r-- | backends/riscv_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/riscv_init.c b/backends/riscv_init.c index 5588a6b7..c74c6af5 100644 --- a/backends/riscv_init.c +++ b/backends/riscv_init.c @@ -57,6 +57,7 @@ riscv_init (Elf *elf __attribute__ ((unused)), eh->frame_nregs = 66; HOOK (eh, check_special_symbol); HOOK (eh, machine_flag_check); + HOOK (eh, set_initial_registers_tid); return MODVERSION; } |
