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