Because the binutils of the loongarch architecture adds relaxation support [1],
the next version of binutils will not be able to build grub.
So we added the R_LARCH_B16, R_LARCH_B21 and R_LARCH_RELAX relocations to
enhance grub compatibility.
[1]:
https://sourceware.org/git/?p=binutils-gdb.git
Add R_LARCH_B16, R_LARCH_B21 and R_LARCH_RELAX relocation types to support
LoongArch relaxation.
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=56576f4a722b7398d35802ecf7d4185c27d6d69b
https://github.com/loongson/la-abi-specs/blob/release/laelf.adoc#relocations
Signed-off-by: Xiaotian
On Sun, 4 Jun 2023 02:29:30 -0500
Oskari Pirhonen wrote:
> This looks useful, thanks!
>
> Some minor things I found when (quickly) reading through it:
Thanks for proof reading this! I'll make all the changes you've
suggested. You're right I'd forgotten that "its" is the possessive
version, not
Debugging GRUB can be tricky and require arcane knowledge. This will
help those unfamiliar with the process to get started debugging GRUB
with less effort.
Signed-off-by: Glenn Washburn
---
Changes from v1:
* Add gdbinfo section
---
Interdiff against v2:
diff --git a/docs/grub-dev.texi b/docs/