Andreas Schwab
11268841e2
grub-install: Define default platform for RISC-V
...
Signed-off-by: Andreas Schwab <schwab@suse.de >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
Reviewed-by: Alexander Graf <agraf@csgraf.de >
2019-09-23 13:19:19 +02:00
Andreas Schwab
a57977b5fa
RISC-V: Add __clzdi2 symbol
...
This is needed for the zstd module build for riscv64-emu.
Signed-off-by: Andreas Schwab <schwab@suse.de >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
2019-09-23 13:17:15 +02:00
Andreas Schwab
2bf40e9e5b
RISC-V: Fix computation of pc-relative relocation offset
...
The offset calculation was missing the relocation addend.
Signed-off-by: Andreas Schwab <schwab@suse.de >
Tested-by: Chester Lin <clin@suse.com >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
2019-07-11 17:50:40 +02:00