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