Blame SOURCES/0010-strip-.eh_frame-section-from-arm64-efi-kernel.patch

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