nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0143-Add-start-symbol-for-RISC-V.patch

8e15ce
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8e15ce
From: David Abdurachmanov <david.abdurachmanov@sifive.com>
8e15ce
Date: Sat, 9 Nov 2019 19:51:57 +0000
8e15ce
Subject: [PATCH] Add start symbol for RISC-V
8e15ce
8e15ce
All other architectures have start symbol.
8e15ce
8e15ce
Hopefully this resolves:
8e15ce
8e15ce
    BUILDSTDERR: ././grub-mkimage: error: undefined symbol start.
8e15ce
8e15ce
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
8e15ce
---
8e15ce
 grub-core/kern/riscv/efi/startup.S | 1 +
8e15ce
 1 file changed, 1 insertion(+)
8e15ce
8e15ce
diff --git a/grub-core/kern/riscv/efi/startup.S b/grub-core/kern/riscv/efi/startup.S
8e15ce
index f2a7b2b1ede..781773136e8 100644
8e15ce
--- a/grub-core/kern/riscv/efi/startup.S
8e15ce
+++ b/grub-core/kern/riscv/efi/startup.S
8e15ce
@@ -29,6 +29,7 @@
8e15ce
 
8e15ce
 	.file 	"startup.S"
8e15ce
 	.text
8e15ce
+FUNCTION(start)
8e15ce
 FUNCTION(_start)
8e15ce
 	/*
8e15ce
 	 *  EFI_SYSTEM_TABLE and EFI_HANDLE are passed in a1/a0.