dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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