在2024年5月23日五月 下午5:26,Heinrich Schuchardt写道:

>> diff --git a/arch/loongarch/lib/reloc_loongarch_efi.c 
>> b/arch/loongarch/lib/reloc_loongarch_efi.c
>> new file mode 100644
>> index 000000000000..32a7d792103d
>> --- /dev/null
>> +++ b/arch/loongarch/lib/reloc_loongarch_efi.c
>
> The code seems to be very similar for all architectures. I wonder if one
> implementation could cover them all.

Not for MIPS due to differences on psABI dynamic relocations.
We still need to handle differences between Rel and Rela and other tiny bits.

I think most architectures have their relocation handling code rooted from
gnu-efi.

Thanks
- Jiaxun

>
> Best regards
>
> Heinrich
>

-- 
- Jiaxun

Reply via email to