grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MULTIBOOT2 SPEC PATCH v4 20/27] multiboot2: mips build wants __start sy


From: Hans Ulrich Niedermann
Subject: [MULTIBOOT2 SPEC PATCH v4 20/27] multiboot2: mips build wants __start symbol
Date: Fri, 15 May 2020 05:43:43 +0200

When building the example kernel for mips, there is a warning
about __start being undefined and some default address being
chosen as start address.

As this does not inspire confidence, we add a __start symbol
at the same place where start and _start are already defined.

Now the mips build builds nicely.

Signed-off-by: Hans Ulrich Niedermann <address@hidden>

diff --git a/doc/boot_mips.S b/doc/boot_mips.S
index b59e3fd6a..a6881528f 100644
--- a/doc/boot_mips.S
+++ b/doc/boot_mips.S
@@ -31,9 +31,10 @@
        .set noreorder
         .set nomacro
 
-       .globl  start, _start
+       .globl  start, _start, __start
 start:
 _start:
+__start:
        b       multiboot_entry
         nop
 
-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]