diff options
author | Clément Léger <cleger@rivosinc.com> | 2024-05-15 17:15:40 +0200 |
---|---|---|
committer | Clément Léger <cleger@rivosinc.com> | 2024-05-29 14:20:20 +0200 |
commit | a316a37331aaaa4c8905ba37a86bde42a2c75343 (patch) | |
tree | 2bac0c1b3e4c2cdc65183ea1b97ce3433f767b8d /riscv-disasm.pc.in | |
parent | c81d8e73daf1875d79a54f28f67df150fba0e44c (diff) | |
download | spike-a316a37331aaaa4c8905ba37a86bde42a2c75343.zip spike-a316a37331aaaa4c8905ba37a86bde42a2c75343.tar.gz spike-a316a37331aaaa4c8905ba37a86bde42a2c75343.tar.bz2 |
add support to load ET_DYN elf
When compiled as PIE, executable can be loaded at any memory address.
Lately, OpenSBI switched to such behavior and spike was not able to load
it anymore. This patch add an additional load_offset parameter for
load_elf(). This load_offset value is passed as DRAM_BASE and used only
for ET_DYN elfs.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Diffstat (limited to 'riscv-disasm.pc.in')
0 files changed, 0 insertions, 0 deletions