[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/1] loongarch: add relaxation support
From: |
Xiaotian Wu |
Subject: |
[PATCH v1 0/1] loongarch: add relaxation support |
Date: |
Tue, 6 Jun 2023 10:34:05 +0800 |
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;a=commit;h=56576f4a722b7398d35802ecf7d4185c27d6d69b
Xiaotian Wu (1):
loongarch: add relaxation support
grub-core/kern/loongarch64/dl.c | 21 +++++++-
grub-core/kern/loongarch64/dl_helper.c | 72 ++++++++++++++++++++++++--
include/grub/elf.h | 3 ++
include/grub/loongarch64/reloc.h | 6 ++-
util/grub-mkimagexx.c | 28 ++++++++--
util/grub-module-verifier.c | 3 ++
6 files changed, 122 insertions(+), 11 deletions(-)
--
2.40.1
- [PATCH v1 0/1] loongarch: add relaxation support,
Xiaotian Wu <=