strip .eh_frame section from arm64-efi kernel

Fixes grub-mkimage error "relocation 0x105 is not implemented yet."
This commit is contained in:
Andrey Borzenkov authored and Leif Lindholm committed 2013-12-30 13:07:54 +00:00
1 parent 0e309454f6
commit 668add258f
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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.
+1 -1
View 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';