]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
strip .eh_frame section from arm64-efi kernel
authorAndrey Borzenkov <arvidjaar@gmail.com>
Mon, 30 Dec 2013 12:56:19 +0000 (12:56 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 30 Dec 2013 13:07:54 +0000 (13:07 +0000)
Fixes grub-mkimage error "relocation 0x105 is not implemented yet."

ChangeLog
grub-core/Makefile.core.def

index db843006df9dce36f129016d3c7295dea0028387..8c1ececa1ed6b1e2ef1db3545409644ab329ca98 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-30  Andrey Borzenkov <arvidjaar@gmail.com>
+
+       * grub-core/Makefile.core.def: strip .eh_frame section for arm64-efi.
+
 2013-12-30  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * NEWS: Add few missing entries. Correct existing ones.
index c916246de27fff871feeb56081ca3d9e9bd803d6..42443bc00b97b05335a2efd386b3e32b40c2cd8a 100644 (file)
@@ -66,7 +66,7 @@ kernel = {
   arm_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
 
   arm64_efi_ldflags          = '-Wl,-r,-d';
-  arm64_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
+  arm64_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version -R .eh_frame';
 
   i386_pc_ldflags          = '$(TARGET_IMG_LDFLAGS)';
   i386_pc_ldflags          = '$(TARGET_IMG_BASE_LDOPT),0x9000';