grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: aarch64: relocation 0x105 is not implemented yet.
Date: Sun, 29 Dec 2013 18:01:27 +0400	[thread overview]
Message-ID: <1388325687.918.107.camel@opensuse.site> (raw)
In-Reply-To: <CAF7UmSzB_Xz6KVQDf8+y3hExJjKmkW8VGu3ej0iqRUEsH76TZQ@mail.gmail.com>

В Вс, 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 <arvidjaar@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)




  reply	other threads:[~2013-12-29 14:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27 19:07 aarch64: relocation 0x105 is not implemented yet Andrey Borzenkov
2013-12-28 17:11 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-28 17:48   ` Andrey Borzenkov
2013-12-28 19:00     ` Andrey Borzenkov
2013-12-29  1:55       ` Leif Lindholm
2013-12-29  5:24         ` Andrey Borzenkov
2013-12-29 12:44           ` Leif Lindholm
2013-12-29 13:06             ` Andrey Borzenkov
2013-12-29 13:06             ` Leif Lindholm
2013-12-29 13:09               ` Leif Lindholm
2013-12-29 14:01                 ` Andrey Borzenkov [this message]
2013-12-29 14:07                   ` Leif Lindholm
2013-12-29 18:12                   ` Leif Lindholm
2013-12-29 19:03                     ` Andrey Borzenkov
2013-12-30  0:40                       ` Leif Lindholm
2013-12-30  2:45                         ` Andrey Borzenkov
2013-12-30 12:43                           ` Leif Lindholm
2013-12-30 13:15                   ` Leif Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1388325687.918.107.camel@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).