According to the relocation documentation, the following function names are
renamed to show their exact meaning:
- from grub_loongarch64_xxx64_hi12() to grub_loongarch64_abs64_hi12()
- from grub_loongarch64_xxx64_hi12() to grub_loongarch64_abs64_lo20()
Signed-off-by: Xiaotian Wu
---
grub-core/k
see https://github.com/loongson/la-abi-specs/blob/release/laelf.adoc#relocations
Signed-off-by: Xiaotian Wu
---
grub-core/kern/loongarch64/dl_helper.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/grub-core/kern/loongarch64/dl_helper.c
b/grub-core/kern/loongarch
We already have the pc variable, no need to calculate it again.
Signed-off-by: Xiaotian Wu
---
util/grub-mkimagexx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c
index e7d5bc631..a3ab04eb1 100644
--- a/util/grub-mkimagexx.c
+++
Use "PRIxGRUB_INT64_T" format specifier for "grub_int64_t" type, and drop the
casts code.
Signed-off-by: Xiaotian Wu
---
grub-core/kern/arm64/dl_helper.c | 4 ++--
grub-core/kern/loongarch64/dl_helper.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/grub-core/kern
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 [2] relocations to
enhance grub compatibility.
[1]:
https://sourceware.org/git/?p=binutils-gdb.g
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
On Tue, Jun 06, 2023 at 11:02:31AM -0700, Kees Cook wrote:
> On Tue, Jun 6, 2023 at 10:27 AM Julian Andres Klode
> wrote:
> >
> > On Tue, Jun 06, 2023 at 07:09:26PM +0200, Daniel Kiper wrote:
> > > On Tue, Jun 06, 2023 at 06:15:27PM +0200, Julian Andres Klode wrote:
> > > > On Tue, Jun 06, 2023 at
Hi Li,,
LGTM!
Reviewed-by: Darren Kenny
Thanks,
Darren.
On Wednesday, 2023-06-07 at 01:31:06 UTC, Lidong Chen wrote:
> Implemented a boundary check before advancing the allocation
> descriptors pointer.
>
> Signed-off-by: Lidong Chen
> Reviewed-by: Darren Kenny
> Reviewed-by: Daniel Kiper
On Wed, Jun 07, 2023 at 03:39:24PM +0200, Daniel Kiper wrote:
> On Tue, Jun 06, 2023 at 11:02:31AM -0700, Kees Cook wrote:
> > On Tue, Jun 6, 2023 at 10:27 AM Julian Andres Klode
> > wrote:
> > >
> > > On Tue, Jun 06, 2023 at 07:09:26PM +0200, Daniel Kiper wrote:
> > > > On Tue, Jun 06, 2023 at 06