В Вс, 29/12/2013 в 13:09 +0000, Leif Lindholm пишет: > Umm, I'm officially going to go make some coffee. > > On arm64_efi stripflags obviously. >
Yes, this works (i.e. - grub-mkimage does not fail). Of course, module relocation happens at run time and I do not have hardware or software to test it - could you do it? You can download RPM here: https://api.opensuse.org/build/home:arvidjaar:grub2-next:ARM/openSUSE_Factory/aarch64/grub2/grub2-arm64-efi-2.02~beta2-225.1.aarch64.rpm From: Andrey Borzenkov <arvidj...@gmail.com> Subject: [PATCH] strip .eh_frame section from kernel Fixes grub-mkimage error ./grub-mkimage: error: relocation 0x105 is not implemented yet. Suggested by Leif Lindholm --- grub-core/Makefile.core.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def index c916246..42443bc 100644 --- a/grub-core/Makefile.core.def +++ b/grub-core/Makefile.core.def @@ -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'; -- tg: (093dec7..) u/arm64-cmodel-large (depends on: master) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel