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 <h...@n-dimensional.de>

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


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to