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

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