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