3f2879c
From e5b01b454769cec291160ffdeef706d04bedb342 Mon Sep 17 00:00:00 2001
78a3d7d
From: Andrey Borzenkov <arvidjaar@gmail.com>
78a3d7d
Date: Mon, 30 Dec 2013 12:56:19 +0000
3f2879c
Subject: [PATCH 009/103] strip .eh_frame section from arm64-efi kernel
78a3d7d
78a3d7d
Fixes grub-mkimage error "relocation 0x105 is not implemented yet."
78a3d7d
---
78a3d7d
 ChangeLog                   | 4 ++++
78a3d7d
 grub-core/Makefile.core.def | 2 +-
78a3d7d
 2 files changed, 5 insertions(+), 1 deletion(-)
78a3d7d
78a3d7d
diff --git a/ChangeLog b/ChangeLog
3f2879c
index 447dece..d2e5193 100644
78a3d7d
--- a/ChangeLog
78a3d7d
+++ b/ChangeLog
78a3d7d
@@ -1,3 +1,7 @@
78a3d7d
+2013-12-30  Andrey Borzenkov <arvidjaar@gmail.com>
78a3d7d
+
78a3d7d
+	* grub-core/Makefile.core.def: strip .eh_frame section for arm64-efi.
78a3d7d
+
78a3d7d
 2013-12-30  Vladimir Serbinenko  <phcoder@gmail.com>
78a3d7d
 
78a3d7d
 	* NEWS: Add few missing entries. Correct existing ones.
78a3d7d
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
78a3d7d
index c916246..42443bc 100644
78a3d7d
--- a/grub-core/Makefile.core.def
78a3d7d
+++ b/grub-core/Makefile.core.def
78a3d7d
@@ -66,7 +66,7 @@ kernel = {
78a3d7d
   arm_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
78a3d7d
 
78a3d7d
   arm64_efi_ldflags          = '-Wl,-r,-d';
78a3d7d
-  arm64_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
78a3d7d
+  arm64_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version -R .eh_frame';
78a3d7d
 
78a3d7d
   i386_pc_ldflags          = '$(TARGET_IMG_LDFLAGS)';
78a3d7d
   i386_pc_ldflags          = '$(TARGET_IMG_BASE_LDOPT),0x9000';
78a3d7d
-- 
3f2879c
1.9.0
78a3d7d