2014-08-27 12:07:53 +02:00
|
|
|
From 668add258ff7ffcfdc2c501fe5eb32e53c69b6f4 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Andrey Borzenkov <arvidjaar@gmail.com>
|
|
|
|
Date: Mon, 30 Dec 2013 12:56:19 +0000
|
|
|
|
Subject: [PATCH] strip .eh_frame section from arm64-efi kernel
|
2014-08-13 04:36:26 +02:00
|
|
|
|
2014-08-27 12:07:53 +02:00
|
|
|
Fixes grub-mkimage error "relocation 0x105 is not implemented yet."
|
2014-08-13 04:36:26 +02:00
|
|
|
---
|
2014-08-27 12:07:53 +02:00
|
|
|
ChangeLog | 4 ++++
|
|
|
|
grub-core/Makefile.core.def | 2 +-
|
|
|
|
2 files changed, 5 insertions(+), 1 deletion(-)
|
2014-08-13 04:36:26 +02:00
|
|
|
|
2014-08-27 12:07:53 +02:00
|
|
|
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
|
|
|
|
index c916246..42443bc 100644
|
|
|
|
--- a/grub-core/Makefile.core.def
|
|
|
|
+++ b/grub-core/Makefile.core.def
|
|
|
|
@@ -66,7 +66,7 @@ kernel = {
|
|
|
|
arm_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
|
|
|
|
|
|
|
|
arm64_efi_ldflags = '-Wl,-r,-d';
|
|
|
|
- arm64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
|
|
|
|
+ arm64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version -R .eh_frame';
|
|
|
|
|
|
|
|
i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
|
|
|
|
i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x9000';
|
2014-08-13 04:36:26 +02:00
|
|
|
--
|
2014-08-27 12:07:53 +02:00
|
|
|
2.1.0
|
2014-08-13 04:36:26 +02:00
|
|
|
|