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