Skip to content
Commit de452c04 authored by Alexander Graf's avatar Alexander Graf
Browse files

riscv: Add support for HI20 PE relocations



The PE standard allows for HI20/LOW12 relocations. Within the efi_loader
target we always know that our relocation target is 4k aligned, so we
don't need to worry about the LOW12 part.

This patch adds support for the respective relocations. With this and a
few grub patches I have cooking in parallel I'm able to run grub on RISC-V.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent acaee306
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment